@@ -259,7 +259,7 @@ Resources:
259259 - Ref : AWS::Partition
260260 - :iam::aws:policy/CloudWatchAgentServerPolicy
261261 - Ref : IdeUserPolicy2460FC7D
262- RoleName : ide-user
262+ RoleName : workshop- ide-user
263263 IdeRoleDefaultPolicyFD4BDE67 :
264264 Type : AWS::IAM::Policy
265265 Properties :
@@ -503,7 +503,7 @@ Resources:
503503 Type : AWS::EC2::SecurityGroup
504504 Properties :
505505 GroupDescription : IDE security group
506- GroupName : ide-cloudfront-ide -sg
506+ GroupName : workshop- ide-cloudfront-sg
507507 SecurityGroupEgress :
508508 - CidrIp : 0.0.0.0/0
509509 Description : Allow all outbound traffic by default
@@ -529,7 +529,7 @@ Resources:
529529 Type : AWS::EC2::SecurityGroup
530530 Properties :
531531 GroupDescription : IDE internal security group
532- GroupName : ide-internal-sg
532+ GroupName : workshop- ide-internal-sg
533533 VpcId :
534534 Ref : VpcC3027511
535535 IdeInternalSecurityGroupfromWorkshopStackIdeInternalSecurityGroup2A6A3A7DALLTRAFFIC101F9997 :
@@ -561,8 +561,7 @@ Resources:
561561 IdeInstanceProfile61B92038 :
562562 Type : AWS::IAM::InstanceProfile
563563 Properties :
564- InstanceProfileName :
565- Ref : IdeRole4650E22E
564+ InstanceProfileName : workshop-ide-instance-profile
566565 Roles :
567566 - Ref : IdeRole4650E22E
568567 IdeElasticIP3327A0B5 :
@@ -579,7 +578,7 @@ Resources:
579578 IncludeSpace : false
580579 PasswordLength : 32
581580 SecretStringTemplate : ' {"password":""}'
582- Name : ide-password
581+ Name : workshop- ide-password
583582 UpdateReplacePolicy : Delete
584583 DeletionPolicy : Delete
585584 IdeInstanceLauncherFunction803C5A2A :
@@ -734,18 +733,8 @@ Resources:
734733 Fn::GetAtt :
735734 - IdeInstanceLauncherFunction803C5A2A
736735 - Arn
737- InstanceName : ide
738- IamInstanceProfileArn :
739- Fn::GetAtt :
740- - IdeInstanceProfile61B92038
741- - Arn
742- VolumeSize : " 50"
743- SubnetIds :
744- Fn::Join :
745- - " "
746- - - Ref : VpcPublicSubnet1Subnet8E8DEDC0
747- - " ,"
748- - Ref : VpcPublicSubnet2SubnetA811849C
736+ ImageId :
737+ Ref : SsmParameterValueawsserviceamiamazonlinuxlatestal2023amikernel61x8664C96584B6F00A464EAD1953AFF4B05118Parameter
749738 SecurityGroupIds :
750739 Fn::Join :
751740 - " "
@@ -756,8 +745,19 @@ Resources:
756745 - Fn::GetAtt :
757746 - IdeInternalSecurityGroupB0A5D76B
758747 - GroupId
759- ImageId :
760- Ref : SsmParameterValueawsserviceamiamazonlinuxlatestal2023amikernel61x8664C96584B6F00A464EAD1953AFF4B05118Parameter
748+ SubnetIds :
749+ Fn::Join :
750+ - " "
751+ - - Ref : VpcPublicSubnet1Subnet8E8DEDC0
752+ - " ,"
753+ - Ref : VpcPublicSubnet2SubnetA811849C
754+ VolumeSize : " 50"
755+ IamInstanceProfileArn :
756+ Fn::GetAtt :
757+ - IdeInstanceProfile61B92038
758+ - Arn
759+ InstanceName : ide
760+ InstanceTypes : m5.xlarge,m6i.xlarge,t3.xlarge
761761 UserData :
762762 Fn::Base64 :
763763 Fn::Join :
@@ -891,7 +891,6 @@ Resources:
891891 "
892892 exit 1
893893 fi
894- InstanceTypes : m5.xlarge,m6i.xlarge,t3.xlarge
895894 UpdateReplacePolicy : Delete
896895 DeletionPolicy : Delete
897896 IdeEipAssociationDFF81215 :
@@ -1101,6 +1100,15 @@ Resources:
11011100 - Fn::Split :
11021101 - " :"
11031102 - Ref : IdePasswordSecretF907B9F2
1103+ - Fn::Select :
1104+ - 2
1105+ - Fn::Split :
1106+ - " -"
1107+ - Fn::Select :
1108+ - 6
1109+ - Fn::Split :
1110+ - " :"
1111+ - Ref : IdePasswordSecretF907B9F2
11041112 UpdateReplacePolicy : Delete
11051113 DeletionPolicy : Delete
11061114 CodeBuildRoleE9A44575 :
@@ -1509,13 +1517,13 @@ Resources:
15091517 Fn::GetAtt :
15101518 - CodeBuildStartLambdaFunction8349284F
15111519 - Arn
1512- ProjectName :
1513- Ref : CodeBuildProjectA0FF5539
15141520 CodeBuildIamRoleArn :
15151521 Fn::GetAtt :
15161522 - CodeBuildRoleE9A44575
15171523 - Arn
1518- ContentHash : " 1765725424912"
1524+ ProjectName :
1525+ Ref : CodeBuildProjectA0FF5539
1526+ ContentHash : " 1765726252761"
15191527 DependsOn :
15201528 - CodeBuildCompleteRuleAllowEventRuleWorkshopStackCodeBuildReportLambdaFunctionD77C60919E0B0C89
15211529 - CodeBuildCompleteRuleEE9277E8
@@ -1930,6 +1938,9 @@ Resources:
19301938 Fn::GetAtt :
19311939 - DatabaseSetupFunction6A2230B7
19321940 - Arn
1941+ SqlStatements : |-
1942+ CREATE TABLE IF NOT EXISTS unicorns(id TEXT DEFAULT gen_random_uuid() PRIMARY KEY, name TEXT, age TEXT, size TEXT, type TEXT);
1943+ CREATE EXTENSION IF NOT EXISTS vector;
19331944 SecretName :
19341945 Fn::Join :
19351946 - " -"
@@ -1960,9 +1971,6 @@ Resources:
19601971 - Fn::Split :
19611972 - " :"
19621973 - Ref : DatabaseSecret3B817195
1963- SqlStatements : |-
1964- CREATE TABLE IF NOT EXISTS unicorns(id TEXT DEFAULT gen_random_uuid() PRIMARY KEY, name TEXT, age TEXT, size TEXT, type TEXT);
1965- CREATE EXTENSION IF NOT EXISTS vector;
19661974 DependsOn :
19671975 - DatabaseClusterDatabaseWriterF4C0B9A6
19681976 - DatabaseCluster5B53A178
0 commit comments