Skip to content

Commit 2142364

Browse files
committed
Remove duplicate line in AWS deployment script
1 parent c2e2443 commit 2142364

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/user_data/templates/install.sh.tftpl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ apt autoremove -y
2727
# Perform unattended upgrades
2828
unattended-upgrade -v
2929

30-
# Perform unattended upgrades
31-
unattended-upgrade -v
32-
3330
# Get IMDS metadata to fetch the API Key from SecretsManager (without having to install awscli)
3431
IMDS_TOKEN=$( curl -sSL -XPUT "http://169.254.169.254/latest/api/token" -H "X-AWS-EC2-Metadata-Token-TTL-Seconds: 30")
3532
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

Comments
 (0)