summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2021-09-20 12:34:51 +0100
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2021-09-20 12:40:51 +0100
commit7816528b92cc652133350d79e8796048530f7d07 (patch)
tree104ae97ec3dd35ac89244fe1e9964c28eaf983de
parent08c1bc2ca8fb1abecff1d395b0b1cbdb6cecf9a6 (diff)
downloadinfrastructure-pedro/terraform.tar.gz
Update README for new tfstate locationpedro/terraform
-rw-r--r--README.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/README.md b/README.md
index 3489f30c..772402fb 100644
--- a/README.md
+++ b/README.md
@@ -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