Testing a Terraform resource deployment

I like to include smoke tests [ST] in my Terraform [TF] deployments just to make sure I didn't overlook anything obvious. One such way is to interact with a resource that invokes other resources, such as an HTTP endpoint that is routed through API gateways, application containers and databases. An easy and portable way to … Continue reading Testing a Terraform resource deployment

azapi: unsupported attribute

One of my Azure Terraform deployments recently started failing with "unsupported attribute". The deployment involves container app environments which aren't currently supported by azurerm, so I'm working around that with azapi [AZAPI]. The template references an attribute ("staticIp" for the interested reader) in the resource creation JSON output. The deployment started breaking in early January … Continue reading azapi: unsupported attribute

Azure: Service API already exists

Update 2023/01/04: I was wrong. Microsoft Support pointed out that each external APIM instances is assigned a globally unique DNS entry and mine was just too generic. Giving the API management resource a unique name for the region it runs in (eg. by appending a random number) solves the issue. I'm writing a Terraform template … Continue reading Azure: Service API already exists