Closed theadzik closed 5 months ago
That will teach me to pin the provider version 😄
@theadzik You shall author the body
using regular HCL, so in your case it would be:
resource "restful_resource" "project_share" {
...
body = [
{
name = azuredevops_serviceendpoint_kubernetes.this.service_endpoint_name,
projectReference = {
id = each.value.project_id,
name = each.value.name
},
description = "Managed by Terraform"
}
]
}
Thanks, I derped on this one :)
When applying changes with newest provider version (after removing jsonencode() from
body
I get an error during validation stage:Configuration snippet: