-
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
v0.12: Phantom nil element appear in some configs during AzureRm tests #20585
Comments
Hi @katbyte, I'm going to start with just the first example here. You will probably find slightly different behavior with master now, since there was a change just merged that's going to alter the handling of "computed blocks". I'm not sure if it's going to be better or worse, since there isn't any defined behavior for this schema. We're tolerating schemas containing "computed" blocks for now with some limitations, but there's no real way to handle one which also contains required fields. I think removing the I'll follow up with more info on the other cases too. |
I wasn't able to get the Azure ACC tests running locally, but I managed to create a reproduction of the first issue. The most recent master seems to alleviate the issue, and I haven't been able to replicate any |
OK, no need to check master at the moment. The change that removed the panics causes issues with other unusual provider schemas, so I'll find another way to resolve those. |
Thanks for the updates @jbardin |
The |
Ok, had time to verify both tests are passing now with master. |
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. |
Hello,
We are experiencing some weird panics in the azurerm provider after updating to the latest .12 SDK (master):
github.com/hashicorp/terraform v0.12.0-alpha4.0.20190306001855-b9d8e96e0c7c
It appears a in a few different places we are getting nil elements inside slices that should by all accounts be empty (as well as some other less clear failures that might be related). The branch and some information can be seen at hashicorp/terraform-provider-azurerm#2968 but the two obvious instances are:
aks:
code
and
addon_profile
is not set in the configthe second instance is in a bunch of VM tests:
code
and
dns_settings
is also not set in the configThe text was updated successfully, but these errors were encountered: