aws-samples / aws-samples/eks-workshop-v2

[Bug]: Error: creating RDS DB Instance

Open
#1,609 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
626
Forks
613
Avg merge
2d 7h
Merged PRs (30d)
9

Description

### Installation method

Own AWS account

### What happened?

ec2-user:~/environment:$ prepare-environment networking/securitygroups-for-pods

Hands-on labs for Amazon Elastic Kubernetes Service

🚀 We're preparing your environment for the next lab, sit tight!
📦 Refreshing copy of workshop repository from GitHub...

🎓 Tip: Read the rest of the lab introduction while you wait!

Deleting Security Group policies...

⏳ Waiting for application to become ready...

🔃 Cleaning up previous lab infrastructure...

🚧 Creating infrastructure for next lab...

│ Error: creating RDS DB Instance (eks-workshop-catalog): operation error RDS: CreateDBInstance, https response error StatusCode: 400, RequestID: 6399ce33-d20a-4f2d-ac4e-7fb57316c495, api error InvalidParameterValue: Unable to create the resource. Verify that you have permission to create service linked role. Otherwise wait and try again later

│ with module.lab.module.preprovision[0].module.catalog_mysql.module.db_instance.aws_db_instance.this[0],
│ on /eks-workshop/terraform-data/modules/lab.preprovision.catalog_mysql/modules/db_instance/main.tf line 30, in resource "aws_db_instance" "this":
│ 30: resource "aws_db_instance" "this" {


🚨 An error occurred, please contact your workshop proctor or raise an issue at https://github.com/aws-samples/eks-workshop-v2/issues
The full log can be found here: /eks-workshop/logs/action-1756750169.log

### What did you expect to happen?

expected RDS DB Instance to be created

### How can we reproduce it?

prepare-environment networking/securitygroups-for-pods

### Anything else we need to know?

_No response_

### EKS version

1.33

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `prepare-environment networking/securitygroups-for-pods` and review the full log at `/eks-workshop/logs/action-1756750169.log`. Inspect the referenced Terraform resource at `modules/lab.preprovision.catalog_mysql/modules/db_instance/main.tf`, focusing on the RDS creation failure and service-linked-role permission error; done means the expected RDS DB instance is created.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, mysql, terraform
Domain
cloud, database, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.