Currently, it does not look like this is possible. The use case would be, a network was previously provisioned using IPAM but was not configured with Terraform. In this case it would be nice to "adopt" the pool that gets used into state so that it can all be managed by Terraform.
Affected Resource(s) and/or Data Source(s)
aws_vpc_ipam_preview_next_cidr
Potential Terraform Configuration
I don't know a lot about how the API works behind the scenes but I was hoping something like the following would work.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
Currently, it does not look like this is possible. The use case would be, a network was previously provisioned using IPAM but was not configured with Terraform. In this case it would be nice to "adopt" the pool that gets used into state so that it can all be managed by Terraform.
Affected Resource(s) and/or Data Source(s)
aws_vpc_ipam_preview_next_cidr
Potential Terraform Configuration
I don't know a lot about how the API works behind the scenes but I was hoping something like the following would work.
References
No response
Would you like to implement a fix?
None