- working Kubernetes cluster (with admin access)
- Linux (Debian/Ubuntu) workstation with:
- if Azure: azure-cli installed and ready to use
- if AWS: aws-cli installed and ready to use
- Clone & open the repository
git clone https://github.com/Cosmo-Tech/terraform-webapp.gitcd terraform-webapp - Deploy
- Fill
terraform-cluster/terraform.tfvarsvariables according to your needs - run pre-configured script
ℹ️ comment/uncomment the terraform apply line at the end to get a plan without deploy anything
- Linux
./_run-terraform.sh
- Windows
./_run-terraform.ps1
- Linux
- Azure
- will ask for the access key of the Azure Storage of "cosmotechstates"
- go to Azure > Azure Storage > "cosmotechstates" > Access keys
- copy/paste "Key" from "key1" or "key2" in the terraform input
- will ask for the access key of the Azure Storage of "cosmotechstates"
- AWS
- Not yet implemented
- GCP
- Not yet implemented
- Fill
- modules
- terraform-webapp
- install Cosmo Tech webapp in a tenant created from terraform-tenant
- terraform-webapp
There is a module that can deploy a Power BI App Registration if you are using Power BI.
However, by default, Superset is configured instead, so the Power BI app is not deployed unless explicitly enabled.
In terraform.tfvars, the variable controlling this feature is set to false by default:
powerbi_app_deploy = falseMade with ❤️ by Cosmo Tech DevOps team