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

example s3-import-mysql errors #551

Open
oc-stephen-bennett opened this issue May 9, 2024 · 0 comments
Open

example s3-import-mysql errors #551

oc-stephen-bennett opened this issue May 9, 2024 · 0 comments

Comments

@oc-stephen-bennett
Copy link

oc-stephen-bennett commented May 9, 2024

Description

downloading the latest version from master and running a terraform init / apply in the example/s3-import-mysql errors.

I have made the change to update the engine_version to "8.0.36" but when running it after, it gets stuck on `module.db.module.db_instance.aws_db_instance.this[0]: Still creating...' for 45 mins then errors:

module.db.module.db_instance.aws_db_instance.this[0]: Still creating... [40m0s elapsed]
╷
│ Error: creating S3 Bucket (s3-import-20240508145118559500000005) ACL: operation error S3: PutBucketAcl, https response error StatusCode: 400, RequestID: 5YJ2DDTJEZXWPM9N, HostID: hjBX10fkNJieKp1iYA/EF+3dPW1Iufq60defSyojljEUR7/fLo9uWObtpU6rEPONGHVcLd7BjKI=, api error AccessControlListNotSupported: The bucket does not allow ACLs
│ 
│   with module.import_s3_bucket.aws_s3_bucket_acl.this[0],
│   on .terraform/modules/import_s3_bucket/main.tf line 45, in resource "aws_s3_bucket_acl" "this":
│   45: resource "aws_s3_bucket_acl" "this" {
│ 
╵
╷
│ Error: waiting for RDS DB Instance (s3-import) create: timeout while waiting for state to become 'available, storage-optimization' (last state: 'creating', timeout: 40m0s)
│ 
│   with module.db.module.db_instance.aws_db_instance.this[0],
│   on .terraform/modules/db/modules/db_instance/main.tf line 29, in resource "aws_db_instance" "this":
│   29: resource "aws_db_instance" "this" {
│ 
╵

If you update the s3 bucket to remove the acl = private you still get the error:

╷
│ Error: waiting for RDS DB Instance (s3-import) create: timeout while waiting for state to become 'available, storage-optimization' (last state: 'creating', timeout: 40m0s)
│ 
│   with module.db.module.db_instance.aws_db_instance.this[0],
│   on .terraform/modules/db/modules/db_instance/main.tf line 29, in resource "aws_db_instance" "this":
│   29: resource "aws_db_instance" "this" {
│ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants