Terraform templates for WWT cloud infrastructure.
Перейти к файлу
Peter Williams a19d6404fc
Merge pull request #33 from pkgw/next
Update Keycloak
2024-07-22 10:57:51 -04:00
dev
prod
.gitignore
LICENSE
README.md

README.md

Terraform Infrastructure for WWT Web Services

This repository contains Terraform files that define the infrastructure for a large portion of the WorldWide Telescope web services. In principle, you could use these templates to create your own clone of the WWT web app, although the WWT team does not test the templates for this kind of portability, and various secrets and data holdings are not expressed in these files.

Basic commands:

terraform plan -var-file=prod.tfvars                        # plan a change
terraform apply -var-file=prod.tfvars                       # apply a change
terraform import -var-file=prod.tfvars [tfname] [azurename] # tell Terraform about a resource

Directory structure:

  • prod expresses much, but not all, of the production WWT environment
  • dev expresses a more limited development environment

The eventual goal is to merge dev and prod, and have the distinctions entirely subsumed into the .tfvars files, but that is unlikely to happen anytime soon.

Updating the Terraform provider version

Do this often, since it's always evolving.