-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Error in aws_rds_cluster engine_mode not supported in Singapore #5593
Comments
I'm not able to reproduce the issue with this configuration: provider "aws" {
region = "ap-southeast-1"
version = "1.32.0"
}
resource "aws_rds_cluster" "test" {
cluster_identifier = "issue-5593-testing"
engine = "aurora"
master_username = "username"
master_password = "password"
skip_final_snapshot = true
} Nor with Can you please provide additional details about your configuration that is failing? Thanks! |
@bflad you need to use |
@facundo-guerrero-olx if you're looking to run Aurora 2.X (MySQL 5.7) with the
For example, this configuration applies successfully: provider "aws" {
region = "ap-southeast-1"
version = "1.32.0"
}
resource "aws_rds_cluster" "test" {
cluster_identifier = "issue-5593-testing"
engine = "aurora-mysql"
engine_version = "5.7.12"
master_username = "username"
master_password = "password"
skip_final_snapshot = true
}
When providing an invalid aws_rds_cluster.test: Creating...
apply_immediately: "" => "<computed>"
arn: "" => "<computed>"
availability_zones.#: "" => "<computed>"
backup_retention_period: "" => "1"
cluster_identifier: "" => "issue-5593-testing"
cluster_identifier_prefix: "" => "<computed>"
cluster_members.#: "" => "<computed>"
cluster_resource_id: "" => "<computed>"
database_name: "" => "<computed>"
db_cluster_parameter_group_name: "" => "<computed>"
db_subnet_group_name: "" => "<computed>"
endpoint: "" => "<computed>"
engine: "" => "aurora-mysql"
engine_mode: "" => "provisioned"
engine_version: "" => "mysql-5.7"
hosted_zone_id: "" => "<computed>"
kms_key_id: "" => "<computed>"
master_password: "<sensitive>" => "<sensitive>"
master_username: "" => "username"
port: "" => "<computed>"
preferred_backup_window: "" => "<computed>"
preferred_maintenance_window: "" => "<computed>"
reader_endpoint: "" => "<computed>"
skip_final_snapshot: "" => "true"
vpc_security_group_ids.#: "" => "<computed>"
Error: Error applying plan:
1 error(s) occurred:
* aws_rds_cluster.test: 1 error(s) occurred:
* aws_rds_cluster.test: error creating RDS cluster: InvalidParameterValue: The engine mode provisioned you requested is currently unavailable.
status code: 400, request id: 06c9e9c5-ad07-4060-919d-5ad4d41a97bb Since that message is generated by the RDS API, a feature request would have to be submitted through AWS Support to get that potentially updated. Within the Terraform resource itself, we do not currently provide any guardrails against misconfiguring the |
Given there should be a solution provided above for correctly configuring Terraform in this situation and the incorrect error messaging needs to be fixed by the RDS API, I am not sure there is anything to do with this issue so I'm going to close it for now. Please let me know if you think that is incorrect for some reason. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Terraform Version
Terraform v0.10.8
Affected Resource(s)
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Singapore does not support engine mode.
Steps to Reproduce
Create an aurora cluster in Singapore using the version of the provider > 1.32
terraform apply
References
#5503
The text was updated successfully, but these errors were encountered: