Changeset View
Changeset View
Standalone View
Standalone View
azure/terraform/README.md
- This file was added.
# Install terraform | |||||
douardda: I'd be delighted to have a 'what' part, i.e. an explanation of what this does, with a… | |||||
https://learn.hashicorp.com/terraform/getting-started/install.html#installing-terraform | |||||
# Login | |||||
Through azure cli (for now) | |||||
``` | |||||
az login | |||||
``` | |||||
# Init | |||||
``` | |||||
terraform init | |||||
``` | |||||
# Plan changes | |||||
This will compute all *.tf files present in the folder and compute a | |||||
differential plan: | |||||
``` | |||||
terraform plan | |||||
``` | |||||
Note: It might be a good idea to change the `variables.tf` file to adapt for | |||||
example the admin user and its associated public key | |||||
Done Inline ActionsMaybe we should have a generic admin user with a key in the swh password-store and set that as default here. ardumont: Maybe we should have a generic `admin` user with a key in the swh password-store and set that… | |||||
# Apply changes | |||||
Same as previous command except that it applies the diff to the infra: | |||||
``` | |||||
terraform apply | |||||
``` |
I'd be delighted to have a 'what' part, i.e. an explanation of what this does, with a description of the deployed architecture, before entering the 'how' part.