aztfmod / terraform-provider-azurecaf

Terraform provider for the Terraform platform engineering for Azure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for Azure Container Apps

jdubois opened this issue · comments

Support Azure Container Apps.

The ressource is called azurerm_container_app and it also needs a azurerm_container_app_environment

According to the CLI, here is the rule for azurerm_container_app:

A name must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character and cannot have '--'. The length must not be more than 32 characters.

I should be able to code the PR in the next few days.

For the record, here are the rules:

| azurerm_container_app| ca| 1| 32| true| "^[a-z0-9][a-z0-9-]{0,30}[a-z0-9]$"|
| azurerm_container_app_environment| cae| 1| 60| false| "^[0-9A-Za-z][0-9A-Za-z-]{0,58}[0-9a-zA-Z]$"|