Terraform provider azurerm errors (resolved?) #757
-
When attempting to apply on Azure, an error stating the var.object_id in jumpbox/main.tf is not a valid UUID. This is because it is not statically set in jumpox/variables.tf for obvious reasons. I attempted to update the provider azurerm to the newest available (3.25 as of this post) but this resulted in new errors "Unsupported Argument" with azurerm_public_ip in firewall/main lines 30 and 40. The availability_zone field should now be omitted if "No-Zone" is desired. This then began a rabbit hole of various missing required arguments caused by depreciated, changed, and/or new fields. I have to verify with our security officer who has all but mandated the use of terraform for this project to see if we can use bicep instead as it appears to have more support and activity. However, I thought I would pass along this information hoping for an easy resolution. If there is an easy fix to this, please let me know. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I may have cloned this project just before the terraform update submitted last week. I just noticed core has been updated to 2.9 or newer. Once I updated my local terraform and pulled updates, the deployment appears to be fine. |
Beta Was this translation helpful? Give feedback.
I may have cloned this project just before the terraform update submitted last week. I just noticed core has been updated to 2.9 or newer. Once I updated my local terraform and pulled updates, the deployment appears to be fine.
Thanks! Now to play around.