You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/acme/README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ You need to create the backend.hcl file by using the iac-aws-backend repo and se
10
10
11
11
Copy the backend.hcl file into the same dir as the primary main.tf file.
12
12
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.
14
14
15
15
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.
16
16
@@ -20,15 +20,19 @@ iac_group_name = ....
20
20
21
21
After you finish modifying the settings in main.tf you will need to run the following commands:
22
22
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
28
29
29
30
Now you can log in to gitlab.tenancy.domain using root and the result of running this command from the main directory:
30
31
31
32
terraform output gitlab_root_pw
32
33
33
34
Use google authenticator or other appropriate app to configure MFA on gitlab for the root user.
0 commit comments