diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2021-09-20 12:34:51 +0100 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2021-09-20 12:40:51 +0100 |
commit | 7816528b92cc652133350d79e8796048530f7d07 (patch) | |
tree | 104ae97ec3dd35ac89244fe1e9964c28eaf983de | |
parent | 08c1bc2ca8fb1abecff1d395b0b1cbdb6cecf9a6 (diff) | |
download | infrastructure-7816528b92cc652133350d79e8796048530f7d07.tar.gz |
Update README for new tfstate locationpedro/terraform
-rw-r--r-- | README.md | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -158,10 +158,15 @@ service provider terraform apply -This will create/modify a `terraform.tfstate` file containing the status of -of the services in the cloud. It's important to keep it in Git so that -later changes can be applied. Make sure you don't include any secrets in -your Terraform scripts, so that it's safe to publish in the open. +This will create/update the tfstate currently stored in OpenStack (via Swift). +If you want to download the state file you can run the following command, but +this isn't necessary: + + openstack object save terraform-state-baserock tfstate.tf + +> The `tfstate` is common for everyone. Is not recommended to have multiple +> people working at the same time on the Terraform side of the infrastructure. + These scripts will create: - Networks, subnetworks, floating IPs |