Skip to content

Cosmo-Tech/terraform-webapp

Repository files navigation

Static Badge Static Badge

Cosmo Tech webapp deployment

Requirements

  • 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

How to

  • Clone & open the repository
    git clone https://github.com/Cosmo-Tech/terraform-webapp.git
    
    cd terraform-webapp
    
  • Deploy
    • Fill terraform-cluster/terraform.tfvars variables 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
    • 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
    • AWS
      • Not yet implemented
    • GCP
      • Not yet implemented

Developpers

  • modules
    • terraform-webapp
      • install Cosmo Tech webapp in a tenant created from terraform-tenant

Note

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 = false



Made with ❤️ by Cosmo Tech DevOps team

About

Cosmo Tech webapp deployment

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •