install-aws-server: Enable instance metadata tags.

These are shown in the Teleport UI.
This commit is contained in:
Alex Vandiver 2024-01-30 22:37:29 -05:00 committed by Tim Abbott
parent 1acfe59fe5
commit 21237f42ba
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ EXTRA_ARGS+=(
--monitoring Enabled=true --monitoring Enabled=true
--placement "AvailabilityZone=$AZ" --placement "AvailabilityZone=$AZ"
--block-device-mappings "DeviceName=/dev/sda1,Ebs={VolumeSize=$DISK_SIZE,VolumeType=gp3,Throughput=125,Iops=3000,Encrypted=true}" --block-device-mappings "DeviceName=/dev/sda1,Ebs={VolumeSize=$DISK_SIZE,VolumeType=gp3,Throughput=125,Iops=3000,Encrypted=true}"
--metadata-options "InstanceMetadataTags=enabled"
) )
if [ -n "$DEBUG_KEY" ]; then if [ -n "$DEBUG_KEY" ]; then