-
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
feat: add aws_vpc_ipam & aws_vpc_ipams data sources #40459
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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.
Welcome @Volatus 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
Hi @Volatus - Thanks for your submission! As of 2023-10-20 all net-new data sources are required to use Terraform Plugin Framework. More context is available in this pinned issue and the provider contributor guide.
Once prioritized, maintainers will convert Plugin-SDK based data sources as part of the review process, but if you'd like to do the conversion in the meantime we would greatly appreciate it! |
@jar-b Understood, I'll work on converting this. |
f15dfa6
to
0db6217
Compare
@jar-b I've made the necessary changes to use the plugin framework instead of SDK v2. Let me know if something needs changing. |
0db6217
to
de734be
Compare
de734be
to
774d8c8
Compare
@jar-b , @ewbankkit, any chance this gets any attention, please? Some of us do rely on this functionality and it's a ready PR just dusting on the shelf for over a month. |
e634bd6
to
452a2d1
Compare
Signed-off-by: Ismayil Mirzali <[email protected]>
Signed-off-by: Ismayil Mirzali <[email protected]>
Signed-off-by: Ismayil Mirzali <[email protected]>
452a2d1
to
4e8b844
Compare
@jar-b Hi, I was wondering if someone could approve the workflows, think I've fixed all the code styling issues. |
Signed-off-by: Ismayil Mirzali <[email protected]>
@jar-b Should be finally passing all checks I think. |
This will prevent future naming conflicts with multi-region support planned for v6.0.0.
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.
LGTM 🎉
% make testacc PKG=ec2 TESTS="TestAccVPCIPAMDataSource_|TestAccVPCIPAMsDataSource_"
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.5 test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccVPCIPAMDataSource_|TestAccVPCIPAMsDataSource_' -timeout 360m -vet=off
2025/01/31 13:24:47 Initializing Terraform AWS Provider...
--- PASS: TestAccVPCIPAMsDataSource_basic (23.65s)
--- PASS: TestAccVPCIPAMsDataSource_filter (23.67s)
--- PASS: TestAccVPCIPAMDataSource_basic (23.70s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 30.508s
Thanks for your contribution, @Volatus! 👍 |
This functionality has been released in v5.85.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! |
Description
This PR introduces 2 new data sources:
aws_vpc_ipam
andaws_vpc_ipams
, following the convention of theaws_vpc_ipam_pool
andaws_vpc_ipam_pools
data sources.Relations
References
Output from Acceptance Testing
Signed-off-by: Ismayil Mirzali [email protected]