Observ platform - terraform deploy
Either one of
Azure Cloud Shell
Bash with
Azure account with permissions
git clone https://github.com/goatwu1993/observ-terraform.git
cd observ-terraform/setups/observ-compose
terraform init
terraform plan -var=" image_tag=1.7.0" -out=out.tfplan
... (input some information)
terraform apply " out.tfplan"
Please choose an unique suffix to avoid conflict. Accept lowercase char only.
Web FCM API is optional
Place resources under main.tf if not too much.
If a resource describe it self or only one within module, name it this.
Name is always singular noun
count at start
tags at the 3rd last. Include tags argument, if supported by resource.
depends_on at the 2nd last
lifecycle at the 1st last
Place datas in main.tf if not too much. Else place it under datas.tf
Place versions in versions.tf
No providers.tf under modules
Place providers in providers.tf
Place variables under variables.tf
Write descriptions.
No sensitive default value in default.