@@ -794,13 +794,31 @@ Resources:
794794 Fn::GetAtt :
795795 - IdeInstanceLauncherFunction803C5A2A
796796 - Arn
797- VolumeSize : " 50"
797+ InstanceTypes : m6a.xlarge,m7a.xlarge
798+ InstanceName : ide
798799 IamInstanceProfileArn :
799800 Fn::GetAtt :
800801 - IdeInstanceProfile61B92038
801802 - Arn
802- InstanceName : ide
803- InstanceTypes : m6a.xlarge,m7a.xlarge
803+ VolumeSize : " 50"
804+ SubnetIds :
805+ Fn::Join :
806+ - " "
807+ - - Ref : VpcPublicSubnet1Subnet8E8DEDC0
808+ - " ,"
809+ - Ref : VpcPublicSubnet2SubnetA811849C
810+ SecurityGroupIds :
811+ Fn::Join :
812+ - " "
813+ - - Fn::GetAtt :
814+ - IdeSecurityGroup73B02454
815+ - GroupId
816+ - " ,"
817+ - Fn::GetAtt :
818+ - IdeInternalSecurityGroupB0A5D76B
819+ - GroupId
820+ ImageId :
821+ Ref : SsmParameterValueawsserviceamiamazonlinuxlatestal2023amikernel61x8664C96584B6F00A464EAD1953AFF4B05118Parameter
804822 UserData :
805823 Fn::Base64 :
806824 Fn::Join :
@@ -937,24 +955,6 @@ Resources:
937955 "
938956 exit 1
939957 fi
940- ImageId :
941- Ref : SsmParameterValueawsserviceamiamazonlinuxlatestal2023amikernel61x8664C96584B6F00A464EAD1953AFF4B05118Parameter
942- SecurityGroupIds :
943- Fn::Join :
944- - " "
945- - - Fn::GetAtt :
946- - IdeSecurityGroup73B02454
947- - GroupId
948- - " ,"
949- - Fn::GetAtt :
950- - IdeInternalSecurityGroupB0A5D76B
951- - GroupId
952- SubnetIds :
953- Fn::Join :
954- - " "
955- - - Ref : VpcPublicSubnet1Subnet8E8DEDC0
956- - " ,"
957- - Ref : VpcPublicSubnet2SubnetA811849C
958958 UpdateReplacePolicy : Delete
959959 DeletionPolicy : Delete
960960 IdeEipAssociationDFF81215 :
@@ -1333,12 +1333,12 @@ Resources:
13331333 Environment :
13341334 ComputeType : BUILD_GENERAL1_MEDIUM
13351335 EnvironmentVariables :
1336- - Name : TEMPLATE_TYPE
1337- Type : PLAINTEXT
1338- Value : java-on-amazon-eks
13391336 - Name : GIT_BRANCH
13401337 Type : PLAINTEXT
13411338 Value : new-ws-infra
1339+ - Name : TEMPLATE_TYPE
1340+ Type : PLAINTEXT
1341+ Value : java-on-amazon-eks
13421342 Image : aws/codebuild/amazonlinux2-x86_64-standard:5.0
13431343 ImagePullCredentialsType : CODEBUILD
13441344 PrivilegedMode : false
@@ -1580,13 +1580,13 @@ Resources:
15801580 Fn::GetAtt :
15811581 - CodeBuildStartLambdaFunction8349284F
15821582 - Arn
1583- ContentHash : " 1767378094194"
1583+ ContentHash : " 1767519160697"
1584+ ProjectName :
1585+ Ref : CodeBuildProjectA0FF5539
15841586 CodeBuildIamRoleArn :
15851587 Fn::GetAtt :
15861588 - CodeBuildRoleE9A44575
15871589 - Arn
1588- ProjectName :
1589- Ref : CodeBuildProjectA0FF5539
15901590 DependsOn :
15911591 - CodeBuildCompleteRuleAllowEventRuleWorkshopStackCodeBuildReportLambdaFunctionD77C60919E0B0C89
15921592 - CodeBuildCompleteRuleEE9277E8
@@ -1944,7 +1944,7 @@ Resources:
19441944 - Ref : AWS::AccountId
19451945 - " -"
19461946 - Ref : AWS::Region
1947- - " -20260102192134 "
1947+ - " -20260104103241 "
19481948 PublicAccessBlockConfiguration :
19491949 BlockPublicAcls : true
19501950 BlockPublicPolicy : true
@@ -2211,12 +2211,12 @@ Resources:
22112211 }
22122212 Environment :
22132213 Variables :
2214- S3_THREAD_DUMPS_PREFIX : thread-dumps/
22152214 S3_BUCKET_NAME :
22162215 Ref : WorkshopBucketFD5BC43F
2216+ S3_THREAD_DUMPS_PREFIX : thread-dumps/
2217+ SECRET_NAME : workshop-ide-password
22172218 EKS_CLUSTER_NAME :
22182219 Ref : EksClusterB2BDED5B
2219- SECRET_NAME : workshop-ide-password
22202220 FunctionName : workshop-thread-dump-lambda
22212221 Handler : index.lambda_handler
22222222 MemorySize : 512
@@ -2521,16 +2521,24 @@ Resources:
25212521 Service : ecs-tasks.amazonaws.com
25222522 Version : " 2012-10-17"
25232523 Description : ECS task role for application runtime permissions
2524+ ManagedPolicyArns :
2525+ - Fn::Join :
2526+ - " "
2527+ - - "arn:"
2528+ - Ref : AWS::Partition
2529+ - :iam::aws:policy/CloudWatchAgentServerPolicy
2530+ - Fn::Join :
2531+ - " "
2532+ - - "arn:"
2533+ - Ref : AWS::Partition
2534+ - :iam::aws:policy/AWSXrayWriteOnlyAccess
25242535 Path : /service-role/
25252536 RoleName : unicornstore-ecs-task-role
25262537 UnicornUnicornStoreEcsTaskRoleDefaultPolicy477138EA :
25272538 Type : AWS::IAM::Policy
25282539 Properties :
25292540 PolicyDocument :
25302541 Statement :
2531- - Action : xray:PutTraceSegments
2532- Effect : Allow
2533- Resource : " *"
25342542 - Action : events:PutEvents
25352543 Effect : Allow
25362544 Resource :
0 commit comments