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 345029e commit fa294d6Copy full SHA for fa294d6
cookbooks/aws-parallelcluster-install/templates/default/base/patch-iso-instance.sh.erb
@@ -58,4 +58,12 @@ done
58
59
echo "[INFO] Complete: CA bundle configuration for AWS CLI in US isolated region"
60
61
+echo "[INFO] Starting: Setting system-wide environment variables for AWS CLI in US isolated region"
62
+
63
+echo "export AWS_DEFAULT_REGION=${REGION}" >> /etc/profile.d/aws-cli-default-config.sh
64
65
+echo "Defaults env_keep += \"AWS_DEFAULT_REGION AWS_CA_BUNDLE\"" > /etc/sudoers.d/pcluster-aws-cli-envkeep
66
67
+echo "[INFO] Complete: Setting system-wide environment variables for AWS CLI in US isolated region"
68
69
echo "[INFO] Complete: instance configuration for US isolated region"
0 commit comments