Skip to content

KaiWalter/tf-aca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Azure Container Apps with Terraform

getting start

  1. initialize Developer CLI with azd init
  2. read values from azd environment source <(azd env get-values)
  3. initialize Terraform state storage with scripts/az-tfstate.sh $AZURE_LOCATION;
    note that infra/provider.conf.json is configured to reference remote state environment variables RS_STORAGE_ACCOUNT, RS_CONTAINER_NAME and RS_RESOURCE_GROUP set in this shell script
  4. set infra/main.tfvars.json
{
    "location": "${AZURE_LOCATION}",
    "environment_name": "${AZURE_ENV_NAME}",
    "resource_prefix": "{your-resource-prefix}",
    "purge_protection_enabled": false,
    "secretstore_admins": [
        "{object-id-of-additional-keyvault-admin}"
    ]
}
  • {your-resource-prefix} is the prefix all resources created get e.g. tfaca
  • {object-id-of-additional-keyvault-admin} is the AAD object ID of additional users or service principals needing adminstration access to Key Vault created
  1. bring up environment with azd up

links

About

Deploy Azure Container Apps with Terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages