Skip to content
Snippets Groups Projects
Verified Commit f50b91e1 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Better terraform init instuctions

parent 3e10ded1
No related branches found
No related tags found
No related merge requests found
...@@ -72,11 +72,11 @@ but for the time being, this is what we're stuck with. ...@@ -72,11 +72,11 @@ but for the time being, this is what we're stuck with.
The very first time you run terraform on your system, you'll have to init it: The very first time you run terraform on your system, you'll have to init it:
cd tf-stage1 # and also tf-stage2
terraform init -backend-config="conn_str=postgres://terraform:$(../misc/get_key.py group_vars/all/vault_terraform.yml vault_terraform_db_password)@state.archlinux.org" terraform init -backend-config="conn_str=postgres://terraform:$(../misc/get_key.py group_vars/all/vault_terraform.yml vault_terraform_db_password)@state.archlinux.org"
After making changes to the infrastructure in `tf-stage1/archlinux.fg`, run After making changes to the infrastructure in `tf-stage1/archlinux.fg`, run
cd tf-stage1
terraform plan terraform plan
This will show you planned changes between the current infrastructure and the desired infrastructure. This will show you planned changes between the current infrastructure and the desired infrastructure.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment