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 c2e2443 commit 2142364Copy full SHA for 2142364
modules/user_data/templates/install.sh.tftpl
@@ -27,9 +27,6 @@ apt autoremove -y
27
# Perform unattended upgrades
28
unattended-upgrade -v
29
30
-# Perform unattended upgrades
31
-unattended-upgrade -v
32
-
33
# Get IMDS metadata to fetch the API Key from SecretsManager (without having to install awscli)
34
IMDS_TOKEN=$( curl -sSL -XPUT "http://169.254.169.254/latest/api/token" -H "X-AWS-EC2-Metadata-Token-TTL-Seconds: 30")
35
IMDS_INSTANCE_ID=$(curl -sSL -XGET "http://169.254.169.254/latest/meta-data/instance-id" -H "X-AWS-EC2-Metadata-Token: $IMDS_TOKEN")
0 commit comments