-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[Bug]: AWS DocDB cluster fails to create Invalid DB Engine #33763
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
I am able to create the db using aws cli with the same parameters but still no dice on terraform |
I believe @ewbankkit's changes in #33790 addresses this. |
I am still having this issue after upgrading to the AWS 5.21.0 version. The behavior has not changed Terraform v1.6.0
|
@rymaclen It looks like DocumentDB is not available in |
Thank you! That would be why. |
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. |
Terraform Core Version
1.6.0
AWS Provider Version
5.21.0
Affected Resource(s)
aws_docdb_cluster
Expected Behavior
Expect to be able to create a document db cluster with or without the docdb engine specified
Actual Behavior
Fails to create documentdb cluster citing invalid db engine. Occurs when the engine field is explicit or implicit.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
resource "aws_docdb_cluster" "testr" {
cluster_identifier = "testr"
availability_zones = ["us-west-1a", "us-west-1c"]
db_subnet_group_name = aws_docdb_subnet_group.prod-db-subnet-group.name
vpc_security_group_ids = [aws_security_group.docdb-access.id]
engine = "docdb"
master_username = "test"
master_password = "testing123"
depends_on = [aws_docdb_subnet_group.prod-db-subnet-group]
}
Steps to Reproduce
run terraform apply with the below:
Debug Output
No response
Panic Output
No response
Important Factoids
Not that I know of. Its new
References
https://registry.terraform.io/providers/hashicorp/aws/5.19.0/docs/resources/docdb_cluster
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: