-
Notifications
You must be signed in to change notification settings - Fork 84
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
potential bug: vnet resource and peerings #345
Comments
Hi is this still happening? |
Any solution for this issue? Facing the same problem here. |
We're running into this same issue, but with VWAN hubs:
Module: Disabling schema validation on the VNet resource in a local copy of the module resolves the issue, and it seems like there might be something odd going on with schemas in the state file. The affected instance has this in the state file: "body": {
"value": {
"properties": {
"addressSpace": {
"addressPrefixes": [
"10.2.16.0/25"
]
},
"dhcpOptions": {
"dnsServers": [
"10.2.2.4",
"10.1.2.4",
"10.0.2.4",
"10.3.2.4"
]
},
"enableDdosProtection": false,
"subnets": [],
"virtualNetworkPeerings": []
}
},
"type": [
"object",
{
"properties": [
"object",
{
"addressSpace": [
"object",
{
"addressPrefixes": [
"tuple",
[
"string"
]
]
}
],
"dhcpOptions": [
"object",
{
"dnsServers": [
"tuple",
[
"string",
"string",
"string",
"string"
]
]
}
],
"enableDdosProtection": "bool",
"subnets": [
"tuple",
[]
],
"virtualNetworkPeerings": [
"tuple",
[]
]
}
]
}
]
} whereas a seemingly unaffected instance with otherwise identical config has this: "body": {
"value": "{\"properties\":{\"addressSpace\":{\"addressPrefixes\":[\"10.1.16.0/25\"]},\"dhcpOptions\":{\"dnsServers\":[\"10.1.2.4\",\"10.0.2.4\",\"10.3.2.4\",\"10.2.2.4\"]}}}",
"type": "string"
} I can't see any obvious differences between these resources outside of the terraform state. |
Same issue in #429 |
Community Note
Versions
Please paste the output of
terraform version
command from within the initialized directory:Please enter the module version that you are using:
Description
A first deployment works, every plan thereafter runs into the error:
I'm a bit flummoxed as the deployment worked fine in the past - I simply don't know what changed.
Steps to Reproduce
Normal LZ deployment. I cannot reasonably redact all the client information, it's a big deployment. The vnet in question is configured as:
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: