aws-samples / cfn101-workshop

AWS CloudFormation Workshop
https://cfn101.workshop.aws/
MIT No Attribution
159 stars 146 forks source link

dynamic-references/database.yaml has an invalid configuration for RDS #265

Closed zachbakerdev closed 3 months ago

zachbakerdev commented 3 months ago

Describe the bug

When working on dynamic-references/database, the database creation fails but fixing this issue is not part of the challenge.

There is no db.t2.micro anymore as far as I can tell from the dashboard (in region us-east-1 at least)

To Reproduce

Steps to reproduce the behavior:

  1. CD into ./code/workspace/dynamic-references
  2. Create stack with database.yaml
  3. Stack will fail to create

Expected behavior

Should create a database, but the specified value is no longer a valid combination.

Additional context

Error message:

Resource handler returned message: "RDS does not support creating a DB instance with the following combination: DBInstanceClass=db.t2.micro, Engine=mysql, EngineVersion=8.0.35, LicenseModel=general-public-license. For supported combinations of instance class and database engine version, see the documentation. (Service: Rds, Status Code: 400, Request ID: xxxx)" (RequestToken: xxxx, HandlerErrorCode: InvalidRequest)