-
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
AWS Network Interface Output IP not match #9277
Comments
Same issue if you increase private_ips_count. If you run It looks like And in
Today with terraform 0.12.3 and aws provider 2.21:
|
Seeing same issue with Terraform v0.12.17 and provider.aws v2.41.0. |
To properly trigger the CustomizeDiff: customdiff.Sequence(
customdiff.ComputedIf("private_ips", func(_ context.Context, diff *schema.ResourceDiff, meta interface{}) bool {
return diff.HasChange("private_ips_count")
}),
), For acceptance testing this functionality, the |
@bflad Most unfortunately, because the names |
This functionality has been released in v3.74.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! |
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. |
I noticed weird output behavior using
aws_network_interface
outputHere's my sample code below
Actual Output:
private_ips = [
"10.0.1.1",
"10.0.1.2",
"10.0.1.3",
]
Above output is correct
But when i changes the
private_ips_count = 1
and runterraform apply
command again. It still showing the previous output IP.Actual Output:
private_ips = [
"10.0.1.1",
"10.0.1.2",
"10.0.1.3",
]
My expected should something like this(2 ips):
private_ips = [
"10.0.1.1",
"10.0.1.2",
]
Thanks,
The text was updated successfully, but these errors were encountered: