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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to the modular-magician user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned to hashibot, a community member has claimed the issue already.
The google_os_config_patch_deployment resource requires that the key value pair for the disruption_budget in the rollout block be fixed or percentage. When trying to deploy with the API-required percent, the resource fails to deploy because it does not recognize percent as an acceptable input. Once changed to percentage and applied, the deployment fails because the API does not recognize percentage as an acceptable option. The only successful google_os_patch_deployment deployment is with a fixed value disruption budget.
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
12.28
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://github.com/Cloudbakers/cloudops-config-mgmt/blob/bug-testing/terraform/testing/debug
Panic Output
Expected Behavior
The API for OSConfig requires percent for disruption budget: https://cloud.google.com/compute/docs/osconfig/rest/v1/PatchRollout#fixedorpercent - terraform should deploy the os patch deployment resource without error when percent (or percentage) is requested.
Actual Behavior
The google_os_config_patch_deployment resource requires that the key value pair for the disruption_budget in the rollout block be fixed or percentage. When trying to deploy with the API-required percent, the resource fails to deploy because it does not recognize percent as an acceptable input. Once changed to percentage and applied, the deployment fails because the API does not recognize percentage as an acceptable option. The only successful google_os_patch_deployment deployment is with a fixed value disruption budget.
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: