terraform-aws-rds-aurora icon indicating copy to clipboard operation
terraform-aws-rds-aurora copied to clipboard

Unable to import backup from S3 bucket through Terraform

Open JuanPolanco37 opened this issue 3 years ago β€’ 10 comments

Description

We intend to create an Aurora RDS cluster & import the backup (Percona XtraBackup) from an existing cluster (in EC2) using Terraform for automation. We receive the following error when trying to import the Percona Xtrabackup from the S3 bucket: Error: error creating RDS DB Cluster (XXX) IAM Role (arn:aws:iam::######:role/test-us00-s3-import) Association: InvalidParameterValue: The feature name s3Import is not valid for the engine Aurora MySQL.

We have tried to manually reproduce this step through the AWS Console and it succeeded without any errors.

Versions

  • Terraform: Terraform v0.13.7
  • Provider(s): Terraform v0.13.7

Expected behavior

We expect that the newly created instance has the data migrated from the backup stored in the S3 bucket

Actual behavior

Error: Error: error creating RDS DB Cluster (test-us00-rds) IAM Role (arn:aws:iam:##########:role/test-us00-s3-import) Association: InvalidParameterValue: The feature name s3Import is not valid for the engine Aurora MySQL.

JuanPolanco37 avatar Feb 28 '22 16:02 JuanPolanco37