Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sample application errors caused by no longer supported db.t2.micro instance type #1012

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion static/Cost/200_Cost_Category/Code/Project1cfm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ Resources:
- !GetAtt DatabaseSG.GroupId
AllocatedStorage: '20'
PubliclyAccessible: 'false'
DBInstanceClass: db.t2.micro
DBInstanceClass: db.t3.micro
Engine: MySQL
DBInstanceIdentifier: Project1Database
MasterUsername: MyName
Expand Down
2 changes: 1 addition & 1 deletion static/Cost/200_Cost_Category/Code/Project2cfm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ Resources:
- !GetAtt DatabaseSG.GroupId
AllocatedStorage: '20'
PubliclyAccessible: 'false'
DBInstanceClass: db.t2.micro
DBInstanceClass: db.t3.micro
Engine: MySQL
DBInstanceIdentifier: Project2Database
MasterUsername: MyName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Aurora,MySQL,db.r5.8xlarge,db.r6g.8xlarge
Aurora,MySQL,db.r5.12xlarge,db.r6g.12xlarge
Aurora,MySQL,db.r5.16xlarge,db.r6g.16xlarge
Aurora,MySQL,db.r5.24xlarge,None
AmazonRDS,PostgreSQL,db.t2.micro,db.t4g.micro
AmazonRDS,PostgreSQL,db.t3.micro,db.t4g.micro
AmazonRDS,PostgreSQL,db.t2.small,db.t4g.small
AmazonRDS,PostgreSQL,db.t2.medium,db.t4g.medium
AmazonRDS,PostgreSQL,db.t2.large,db.t4g.large
Expand Down Expand Up @@ -99,7 +99,7 @@ AmazonRDS,PostgreSQL,db.r5b.8xlarge,db.r6gd.8xlarge
AmazonRDS,PostgreSQL,db.r5b.12xlarge,db.r6gd.12xlarge
AmazonRDS,PostgreSQL,db.r5b.16xlarge,db.r6gd.16xlarge
AmazonRDS,PostgreSQL,db.r5b.24xlarge,None
AmazonRDS,MySQL,db.t2.micro,db.t4g.micro
AmazonRDS,MySQL,db.t3.micro,db.t4g.micro
AmazonRDS,MySQL,db.t2.small,db.t4g.small
AmazonRDS,MySQL,db.t2.medium,db.t4g.medium
AmazonRDS,MySQL,db.t2.large,db.t4g.large
Expand Down Expand Up @@ -159,7 +159,7 @@ AmazonRDS,MySQL,db.r5b.8xlarge,db.r6gd.8xlarge
AmazonRDS,MySQL,db.r5b.12xlarge,db.r6gd.12xlarge
AmazonRDS,MySQL,db.r5b.16xlarge,db.r6gd.16xlarge
AmazonRDS,MySQL,db.r5b.24xlarge,None
AmazonRDS,MariaDB,db.t2.micro,db.t4g.micro
AmazonRDS,MariaDB,db.t3.micro,db.t4g.micro
AmazonRDS,MariaDB,db.t2.small,db.t4g.small
AmazonRDS,MariaDB,db.t2.medium,db.t4g.medium
AmazonRDS,MariaDB,db.t2.large,db.t4g.large
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ Resources:
Type: AWS::RDS::DBInstance
Properties:
AllocatedStorage: 5
DBInstanceClass: db.t2.micro
DBInstanceClass: db.t3.micro
Engine: MySQL
MasterUsername: !Join ['', ['{{resolve:secretsmanager:', !Ref RDSSecret, ':SecretString:username}}' ]]
MasterUserPassword: !Join ['', ['{{resolve:secretsmanager:', !Ref RDSSecret, ':SecretString:password}}' ]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"Description": "DB Instance Class",
"Type": "String",
"AllowedValues": [
"db.t2.micro",
"db.t3.micro",
"db.t3.small",
"db.t3.medium",
Expand All @@ -32,7 +31,7 @@
"db.m5.12xlarge",
"db.m5.24xlarge"
],
"Default": "db.t2.micro",
"Default": "db.t3.micro",
"ConstraintDescription": "must select a valid database instance type."
},
"DBUser": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"Description" : "DB Instance Class",
"Type": "String",
"AllowedValues": [
"db.t2.micro",
"db.t3.micro",
"db.t3.small",
"db.t3.medium",
Expand All @@ -47,7 +46,7 @@
"db.m5.12xlarge",
"db.m5.24xlarge"
],
"Default": "db.t2.micro",
"Default": "db.t3.micro",
"ConstraintDescription": "must select a valid database instance type."
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ Resources:
DBName: unishop
DBInstanceIdentifier: !Ref 'AWS::StackName'
Engine: MySQL
DBInstanceClass: db.t2.micro
DBInstanceClass: db.t3.micro
Port: '3306'
MasterUsername: UniShopAppV1User
MasterUserPassword: UniShopAppV1Password
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Resources:
DBName: unishop
DBInstanceIdentifier: !Ref 'AWS::StackName'
Engine: MySQL
DBInstanceClass: db.t2.micro
DBInstanceClass: db.t3.micro
Port: '3306'
MasterUsername: UniShopAppV1User
MasterUserPassword: UniShopAppV1Password
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ Resources:
Type: AWS::RDS::DBInstance
Properties:
AllocatedStorage: 20
DBInstanceClass: db.t2.micro
DBInstanceClass: db.t3.micro
DBName: !Ref RDSDBName
Engine: mysql
MasterUsername: !Ref RDSUserName
Expand Down