Setup project:
-
Copy
terraform.tfvars.exampleand rename toterraform.tfvarsingrafana_terraformand change values. -
Run
terraform init -upgradein thegrafana_terraformfolder. -
Run
terraform planin thegrafana_terraformfolder. -
Run
terraform applyin thegrafana_terraformfolder. -
Copy
terraform.tfvars.exampleand rename toterraform.tfvarsinLTMO_Terraformand change values. NOTE: SeeGrafana provisioningfor values of Grafana api key. -
Run
terraform init -upgradein theLTMO_Terraformfolder. -
Run
terraform planin theLTMO_Terraformfolder. -
Run
terraform applyin theLTMO_Terraformfolder.
- First run the grafana_terraform project, such that a Grafana aci is running.
- Access the Grafana ACI at http://grafana-umbraco-dev-dns.westeurope.azurecontainer.io:3000.
- Go to Administration -> Users and access -> Service accounts.
- Create a service account with admin access.
- Click Add service account token -> Generate token.
- Copy token and add to the terraform.tfvars for the LTMO project, as this is used for automatic provisioning.