Skip to content

Commit b670d19

Browse files
committed
updated docs
1 parent a587d47 commit b670d19

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

examples/acme/README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You need to create the backend.hcl file by using the iac-aws-backend repo and se
1010

1111
Copy the backend.hcl file into the same dir as the primary main.tf file.
1212

13-
Edit the main.tf file to set the appropriate domain variable (base domain) and the tenancy variable. This will create a zone for tenancy.domain so you will have hosts with FQDNs such as gitlab.tenancy.domain and wireguard.tenancy.domain, etc.
13+
Edit the main.tf file to set the version of the bootstrap iac in the module call, the appropriate domain variable (base domain) and the tenancy variable. This will create a zone for tenancy.domain so you will have hosts with FQDNs such as gitlab.tenancy.domain and wireguard.tenancy.domain, etc.
1414

1515
You can also change the number of zones to use if you wish to have the switch create worker nodes in different zones and have the load balancers balance accross those different zones. Or leave it at 1 and everything will be in the same zone.
1616

@@ -20,15 +20,19 @@ iac_group_name = ....
2020

2121
After you finish modifying the settings in main.tf you will need to run the following commands:
2222

23-
1. terraform init --backend-config=backend.hcl
24-
2. terraform apply -var-file=backend.hcl
25-
3. cd post-config
26-
4. terraform init --backend-config=../backend.hcl
27-
5. terraform apply -var-file=../backend.hcl
23+
1. export AWS_PROFILE=profilename
24+
2. terraform init --backend-config=backend.hcl
25+
3. terraform apply -var-file=backend.hcl
26+
4. cd post-config
27+
5. terraform init --backend-config=../backend.hcl
28+
6. terraform apply -var-file=../backend.hcl
2829

2930
Now you can log in to gitlab.tenancy.domain using root and the result of running this command from the main directory:
3031

3132
terraform output gitlab_root_pw
3233

3334
Use google authenticator or other appropriate app to configure MFA on gitlab for the root user.
3435

36+
To destroy, go to main dir and type:
37+
1. terraform init --backend-config=backend.hcl
38+
2. terraform destroy -var-file=backend.hcl

0 commit comments

Comments
 (0)