@@ -734,6 +734,18 @@ Resources:
734734 Fn::GetAtt :
735735 - IdeInstanceLauncherFunction803C5A2A
736736 - Arn
737+ ImageId :
738+ Ref : SsmParameterValueawsserviceamiamazonlinuxlatestal2023amikernel61x8664C96584B6F00A464EAD1953AFF4B05118Parameter
739+ SecurityGroupIds :
740+ Fn::Join :
741+ - " "
742+ - - Fn::GetAtt :
743+ - IdeIdeSecurityGroup5C503C8A
744+ - GroupId
745+ - " ,"
746+ - Fn::GetAtt :
747+ - IdeIdeInternalSecurityGroupD5D3B421
748+ - GroupId
737749 SubnetIds :
738750 Fn::Join :
739751 - " "
@@ -761,10 +773,6 @@ Resources:
761773
762774 # Configuration from CDK
763775 export GIT_BRANCH="new-ws-infra"
764- export STACK_NAME="
765- - Ref : AWS::StackName
766- - |-
767- "
768776 export AWS_REGION="
769777 - Ref : AWS::Region
770778 - |-
@@ -865,7 +873,7 @@ Resources:
865873 if cd /home/ec2-user/java-on-aws && WAIT_CONDITION_HANDLE_URL="
866874 - Ref : IdeBootstrapWaitConditionHandleD7141CA8
867875 - |-
868- " infra/scripts/ide/bootstrap.sh "$GIT_BRANCH" "$STACK_NAME" "$ TEMPLATE_TYPE"; then
876+ " infra/scripts/ide/bootstrap.sh "$GIT_BRANCH" "$TEMPLATE_TYPE"; then
869877 echo "Bootstrap completed successfully"
870878 # Bootstrap script already signaled success
871879 else
@@ -884,18 +892,6 @@ Resources:
884892 "
885893 exit 1
886894 fi
887- ImageId :
888- Ref : SsmParameterValueawsserviceamiamazonlinuxlatestal2023amikernel61x8664C96584B6F00A464EAD1953AFF4B05118Parameter
889- SecurityGroupIds :
890- Fn::Join :
891- - " "
892- - - Fn::GetAtt :
893- - IdeIdeSecurityGroup5C503C8A
894- - GroupId
895- - " ,"
896- - Fn::GetAtt :
897- - IdeIdeInternalSecurityGroupD5D3B421
898- - GroupId
899895 UpdateReplacePolicy : Delete
900896 DeletionPolicy : Delete
901897 IdeIdeEipAssociation6C6C215D :
@@ -1271,10 +1267,6 @@ Resources:
12711267 - Name : GIT_BRANCH
12721268 Type : PLAINTEXT
12731269 Value : new-ws-infra
1274- - Name : STACK_NAME
1275- Type : PLAINTEXT
1276- Value :
1277- Ref : AWS::StackName
12781270 Image : aws/codebuild/amazonlinux2-x86_64-standard:5.0
12791271 ImagePullCredentialsType : CODEBUILD
12801272 PrivilegedMode : false
@@ -1295,7 +1287,6 @@ Resources:
12951287 - |
12961288 aws --version
12971289 echo "Environment Variables:"
1298- echo "STACK_NAME: $STACK_NAME"
12991290 echo "TEMPLATE_TYPE: $TEMPLATE_TYPE"
13001291 echo "GIT_BRANCH: $GIT_BRANCH"
13011292 build:
@@ -1518,13 +1509,13 @@ Resources:
15181509 Fn::GetAtt :
15191510 - CodeBuildStartLambdaFunction8349284F
15201511 - Arn
1521- ContentHash : " 1765709890926"
15221512 CodeBuildIamRoleArn :
15231513 Fn::GetAtt :
15241514 - CodeBuildCodeBuildRoleBA9C6D5C
15251515 - Arn
15261516 ProjectName :
15271517 Ref : CodeBuildProjectA0FF5539
1518+ ContentHash : " 1765710516249"
15281519 DependsOn :
15291520 - CodeBuildBuildCompleteRuleAllowEventRuleWorkshopStackCodeBuildReportLambdaFunctionD77C6091DA4A4BD8
15301521 - CodeBuildBuildCompleteRule06AAF17D
@@ -1941,6 +1932,9 @@ Resources:
19411932 Fn::GetAtt :
19421933 - DatabaseDatabaseSetupFunction04FDCEBB
19431934 - Arn
1935+ SqlStatements : |-
1936+ CREATE TABLE IF NOT EXISTS unicorns(id TEXT DEFAULT gen_random_uuid() PRIMARY KEY, name TEXT, age TEXT, size TEXT, type TEXT);
1937+ CREATE EXTENSION IF NOT EXISTS vector;
19441938 SecretName :
19451939 Fn::Join :
19461940 - " -"
@@ -1971,9 +1965,6 @@ Resources:
19711965 - Fn::Split :
19721966 - " :"
19731967 - Ref : DatabaseDatabaseSecret487264A7
1974- SqlStatements : |-
1975- CREATE TABLE IF NOT EXISTS unicorns(id TEXT DEFAULT gen_random_uuid() PRIMARY KEY, name TEXT, age TEXT, size TEXT, type TEXT);
1976- CREATE EXTENSION IF NOT EXISTS vector;
19771968 DependsOn :
19781969 - DatabaseDatabaseClusterDatabaseWriter0EEAA63C
19791970 - DatabaseDatabaseCluster0C7C993F
0 commit comments