Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

bootstrap-aws-installer: Drop "credential_source" in .aws/config.

Alex Vandiver721a1d7a109f
diff --git a/tools/setup/bootstrap-aws-installer b/tools/setup/bootstrap-aws-installer
index 1433e9e02f8..4b141a51a88 100644
--- a/tools/setup/bootstrap-aws-installer
+++ b/tools/setup/bootstrap-aws-installer
@@ -41,13 +41,13 @@ export DEBIAN_FRONTEND=noninteractive
# The following line gets subbed in with the contents of bootstrap-awscli.sh
AWS=
-# Set up AWS so we can use the role credentials we were started with, which give secrets access
+# Set up a bare-bones AWS configuration
mkdir -p /root/.aws
cat >/root/.aws/config <<EOF
[default]
region = us-east-1
output = text
-credential_source = Ec2InstanceMetadata
+# Credentials are from the IAM role attached to the EC2 instance
EOF
# Set up public keys for root, so we can fetch the repo; this is a