-
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
[WIP] New resource aws_db_proxy_target #12784
Conversation
Notification of Recent and Upcoming Changes to ContributionsThank you for this contribution! There have been a few recent development changes that affect this pull request. We apologize for the inconvenience, especially if there have been long review delays up until now. Please note that this is automated message from an unmonitored account. See the FAQ for additional information on the maintainer team and review prioritization. If you are unable to complete these updates, please leave a comment for the community and maintainers so someone can potentially continue the work. The maintainers will encourage other contributors to use the existing contribution as the base for additional changes as appropriate. Otherwise, contributions that do not receive updated code or comments from the original contributor may be closed in the future so the maintainers can focus on active items. For the most up to date information about Terraform AWS Provider development, see the Contributing Guide. Additional technical debt changes can be tracked with the As part of updating a pull request with these changes, the most current unit testing and linting will run. These may report issues that were not previously reported. Terraform 0.12 SyntaxReference: #8950 Version 3 and later of the Terraform AWS Provider, which all existing contributions would potentially be added, only supports Terraform 0.12 and later. Certain syntax elements of Terraform 0.11 and earlier show deprecation warnings during runs with Terraform 0.12. Documentation and test configurations, such as those including deprecated string interpolations ( Action Required: Terraform Plugin SDK Version 2Reference: #14551 The Terraform AWS Provider has been upgraded to the latest version of the Terraform Plugin SDK. Generally, most changes to contributions should only involve updating Go import paths in source code files. Please see the referenced issue for additional information. Action Required: Removal of website/aws.erb FileReference: #14712 Any changes to the Upcoming Change of Git Branch NamingReference: #14292 Development environments will need their upstream Git branch updated from Upcoming Change of GitHub OrganizationReference: #14715 This repository will be migrating from https://github.com/terraform-providers/terraform-provider-aws to https://github.com/hashicorp/terraform-provider-aws. No practitioner or developer action is anticipated and most GitHub functionality will automatically redirect to the new location. Go import paths including |
fc4c790
to
83e8fd3
Compare
@bflad any chance we can get this in 3.6.0 - the aws_rds_proxy resource is not usuable without the target group unfortuantely |
@gazoakley since the @bryantbiggs it should be usable to manage any RDS DB Proxy itself 😉 , but yes it is understood that end-to-end management is not yet possible (that would be the closing of the tracking issue #12690). Since this is a community driven effort we cannot provide a guarantee on timeframes unless the contributor becomes unresponsive and the maintainers take over. The note above would speed things up here though. Larger functionality in this project is always broken up into more iterative pieces so we can work through reviews and release functionality faster than releasing it all at once. |
1ea22d5
to
97f3b72
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some relatively minor items then should be good to go, thank you @gazoakley 😄
resource.TestMatchResourceAttr(resourceName, "endpoint", regexp.MustCompile(`^[\w\-\.]+\.rds\.amazonaws\.com$`)), | ||
resource.TestCheckResourceAttr(resourceName, "port", "3306"), | ||
resource.TestCheckResourceAttr(resourceName, "rds_resource_id", rName), | ||
// resource.TestCheckResourceAttrPair(resourceName, "target_arn", "aws_db_instance.test", "arn"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented testing should be removed or fixed. 👍
// resource.TestCheckResourceAttrPair(resourceName, "target_arn", "aws_rds_cluster.test", "arn"), | ||
// resource.TestCheckResourceAttr(resourceName, "tracked_cluster_id", rName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
Hi, When will this be released ? |
Hi @swagsb 👋 There is no definitive release date yet. We will update the pull request milestone if/when there is a specific release. Please do note though that this pull request is covered by the August - October 2020 Roadmap. Given I just provided a review yesterday with only some minor items, it will be under final review/merge when the above items have been addressed or our typical handling of within the next two weeks if there is no response. |
Hi @gazoakley 👋 Since we didn't hear back from you, we picked up finishing this pull request so it can be released this week. The biggest change not noted in the review above was also including the target type in the resource identifier and lookups since cluster handling is confusing under the hood as RDS will create two targets (one Output from acceptance testing in AWS Commercial:
Output from acceptance testing in AWS GovCloud (US):
|
This has been released in version 3.9.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 for triage. Thanks! |
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
Relates #12690
Release note for CHANGELOG:
Output from acceptance testing: