-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
AWS VPC resource is recreated if the IP does not match exactly #2340
Comments
Hi @hackaugusto |
@radeksimko not that I'm aware of. I opened the issue because it took me some time to realize what was going on. Everytime I executed |
There's an upcoming feature for field validation and we could build a validation for IP CIDRs which would effectively mean that each time you'd enter CIDR with leading zeros into a field that has this validation, Terraform would not execute anything and let you fix that first. Does that sound like a solution? |
@radeksimko Thx for the fix! |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
A network block
10.01
forces the resource to be recreated where a block10.1
does not.I used a varible to configure the network block, based on the configuration cloudfoundry-community/terraform-aws-vpc , here is the minimum example:
Note: I'm using a slightly out-of-date version,
v0.5.2
instead ofv0.5.3
The text was updated successfully, but these errors were encountered: