-
Notifications
You must be signed in to change notification settings - Fork 25
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
Handle warnings in terraform 0.12 #24
Comments
Was introspection enabled before? or is that new? If it's new, we could keep it disabled for now. Even if it was enabled, we hadn't been using that data yet, so I wouldn't block on it. |
The terraform provider only recently supported explicitly doing inspection, but it's not a big deal since Terraform reports:
Just something I have to fix eventually. Shouldn't block 4.2. |
fixes openshift-metal3#24 - When some values are unspecified (i.e. interfaces), Ironic sets default values and returns the result. In 0.11, we specified these with 'Default', but the better approach - and the one that fixes the warnings i n 0.12 - is to mark these as Computed. This informs Terraform that if the resource doesn't explicitly define a value, then the API may provide one to us when we refresh the resource. -
refs openshift-metal3#24 This partially addresses the issue. When some values are unspecified, Ironic sets default values and returns the result the next time we reload the resource. In 0.11, I used 'Default' to have terraform avoid being surprised, but the better solution is to mark them Computed. This informs terraform that if the resource doesn't define a value, Ironic will. This removes most of the warnings in 0.12.
refs openshift-metal3#24 This partially addresses the issue. When some values are unspecified, Ironic sets default values and returns the result the next time we reload the resource. In 0.11, I used 'Default' to have terraform avoid being surprised, but the better solution is to mark them Computed. This informs terraform that if the resource doesn't define a value, Ironic will. This removes most of the warnings in 0.12.
refs openshift-metal3#24 This partially addresses the issue. When some values are unspecified, Ironic sets default values and returns the result the next time we reload the resource. In 0.11, I used 'Default' to have terraform avoid being surprised, but the better solution is to mark them Computed. This informs terraform that if the resource doesn't define a value, Ironic will. This removes most of the warnings in 0.12.
refs #24 This partially addresses the issue. When some values are unspecified, Ironic sets default values and returns the result the next time we reload the resource. In 0.11, I used 'Default' to have terraform avoid being surprised, but the better solution is to mark them Computed. This informs terraform that if the resource doesn't define a value, Ironic will. This removes most of the warnings in 0.12.
I think hashicorp/terraform#21576 addresses the issues with candidate nodes, so upgrading to 0.12.1 should fix that |
Sounds like this issue is now resolved, closing |
Terraform 0.12 is unhappy about inspection updating some of the properties:
Also:
The text was updated successfully, but these errors were encountered: