-
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
[Bug]: r/aws_neptune_cluster and r/aws_neptune_cluster_instance use incorrect default parameter group families #38979
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
r/aws_neptune_cluster: Fixing Issue #38979 with incorrect default value used for cluster and instance parameter group
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
This functionality has been released in v5.65.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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.9.4
AWS Provider Version
5.63.1
Affected Resource(s)
Expected Behavior
For
aws_neptune_cluster
andaws_neptune_cluster_instance
, if you do not specify a value forneptune_cluster_parameter_group_name
andneptune_parameter_group_name
respectively, then the default behavior is for the Neptune control plane to provide the appropriate default parameter group with the appropriate default parameter group family.For example, if deploying the current default engine version for a Neptune cluster (
1.3.2.1
), then control plane will automatically usedefault.neptune1.3
as the default parameter group is none is specified.Actual Behavior
In version 5.63.1 and earlier of the Terraform AWS provider, the default parameter group was provided of
default.neptune1
. This parameter group will not work for engine version beyond1.1.1.0
and caused deployment failures when attempting to launch Neptune clusters without specifying a custom parameter group.Relevant Error/Panic Output Snippet
Terraform Configuration Files
resource "aws_neptune_cluster" "new_cluster" {
engine = "neptune"
backup_retention_period = 5
preferred_backup_window = "07:00-09:00"
skip_final_snapshot = true
}
Steps to Reproduce
When creating a new Neptune cluster without specifying
engine_version
orneptune_cluster_parameter_group_name
, the default behavior by the AWS APIs forCreateDBCluster
would create a new cluster with engine version1.3.2.1
and a default parameter group ofdefault.neptune1.3
. Instead, the configuration above attempts to create a new cluster with engine version1.3.2.1
(which is correct) but with a default parameter group ofdefault.neptune1
(which is incorrect).Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: