terraform-provider-azapi
terraform-provider-azapi copied to clipboard
On the azapi_resource, add an ignore_errors attribute that would allow errors to be suppressed
I want to use this Terraform provider to determine if a resource exists and then take action in my Terraform code based on this test. If the resource does not exists and I set the "ignore_errors" attribute to true, simple return a null so that when I reference "jsondecode(data.azapi_resource.example.output).properties", I can wrap this in the "try" HCL function and know what to do.