From c0adc66e1efa21a276866e0c0d29178adc0f7c2d Mon Sep 17 00:00:00 2001 From: Neal Magee Date: Fri, 23 Feb 2024 13:09:07 -0500 Subject: [PATCH] Name tag for EC2 instance --- ec2/cloudformation/ec2-with-s3.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ec2/cloudformation/ec2-with-s3.yaml b/ec2/cloudformation/ec2-with-s3.yaml index 93134bc..23b037d 100644 --- a/ec2/cloudformation/ec2-with-s3.yaml +++ b/ec2/cloudformation/ec2-with-s3.yaml @@ -38,6 +38,9 @@ Resources: KeyName: !Ref KeyName ImageId: ami-0c7217cdde317cfec IamInstanceProfile: !Ref InstanceProfile + Tags: + - Key: Name + Value: ds2002-ec2-instance UserData: Fn::Base64: !Sub |