You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What should have happened?
The configuration above should work as written. Commenting out line hashicorp/terraform#19 (ip = "dhcp") will result in a successful apply, but as dhcp is the default behavior it shouldn't matter if it's stated explicitly or not.
Actual Behavior
What actually happened?
The DNS entry does not get updated, and error text (see lines 633-654 in gist hashicorp/terraform#1 above) is output.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
The text was updated successfully, but these errors were encountered:
I don't think this is a bug in the DNS provider. You've set the ip attribute on the vcd_vapp.susebox resource to "dhcp" so the DNS provider is trying to literally use "dhcp" as the IP address and failing.
The vcd_vapp resource should probably handle this differently; as if you specify the ip attribute as "dhcp" then it gets replaced with whatever the actual IP address is, the next time you run a plan/apply, Terraform will surely want to set this back to "dhcp" again and cause a noisy diff.
I look a little deeper of a look and in addition to what @bodgit mentioned it appears this was a bug in the VCD provider that was fixed last summer after you opened this ticket and the provider should now correctly assign an ip to that property.
As such i am going to close this issue, however please don't hesitate to open another if this is still affecting 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.
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.
This issue was originally opened by @stubblyhead as hashicorp/terraform#13812. It was migrated here as part of the provider split. The original body of the issue is below.
Terraform Version
Terraform v0.9.3
Affected Resource(s)
(I'm not sure which of the two is at fault, possibly they are just not playing nice with each other)
Terraform Configuration Files
Debug Output
The first gist is a failed apply, and the second is a successful one. The only difference in configuration is explicitly using dhcp (gist 1) instead of implicitly using dhcp as the default behavior (gist 2).
Expected Behavior
What should have happened?
The configuration above should work as written. Commenting out line hashicorp/terraform#19 (
ip = "dhcp"
) will result in a successful apply, but as dhcp is the default behavior it shouldn't matter if it's stated explicitly or not.Actual Behavior
What actually happened?
The DNS entry does not get updated, and error text (see lines 633-654 in gist hashicorp/terraform#1 above) is output.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
The text was updated successfully, but these errors were encountered: