-
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
New data source: aws_wafv2_regex_pattern_set #12789
New data source: aws_wafv2_regex_pattern_set #12789
Conversation
hi @pvanbuijtene, do you mind rebasing to isolate the data_source related changes? |
3ed4e8e
to
66ec689
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.
hi @pvanbuijtene, thanks again for your contributions! please find some follow-up suggestions and comments for your consideration. also if you could omit the resource and references to it in provider.go
it would be greatly appreciated :)
} | ||
|
||
resp, err := conn.GetRegexPatternSet(&wafv2.GetRegexPatternSetInput{ | ||
Id: aws.String(*foundRegexPatternSet.Id), |
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.
along the lines of using the AWS SDK's conversion functions, i think ideally we'd want to use aws.StringValue(foundIRegexPatternSet.Id)
though this results in 2 conversions..this may be a case where passing the original pointer is permissible @bflad?
99a0e6f
to
7246ecc
Compare
@anGie44 the code has been updated and the resource code is removed, be aware this will break the build and test. |
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.
thanks @pvanbuijtene! changes look great. just noted these 2 documentation changes
Thanks so much for the changes @pvanbuijtene! Note: acceptance test run and linting contingent on merge of #12284 |
FYI, there is a CI failure:
|
hi @pvanbuijtene, one last rebase and |
d840b86
to
333f2da
Compare
awesome, thanks @pvanbuijtene! 🚀 |
This has been released in version 2.63.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
Closes #11179
Relates #11046
Depends on #12284 because of duplicated code for tests.
Release note for CHANGELOG:
Output from acceptance testing: