We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 821957d commit 693654aCopy full SHA for 693654a
recipes/base_install.rb
@@ -51,6 +51,13 @@
51
end
52
53
54
+# AWS CLI China Mirror
55
+if node['cfncluster']['cfn_region'].start_with?("cn-")
56
+ node.default['cfncluster']['awscli']['url'] = "https://s3.cn-north-1.amazonaws.com.cn/cn-north-1-aws-parallelcluster/aws-cli/awscli-bundle.zip"
57
+else
58
+ node.default['cfncluster']['awscli']['url'] = "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip"
59
+end
60
+
61
bash "install awscli" do
62
cwd Chef::Config[:file_cache_path]
63
code <<-CLI
0 commit comments