20220328:02 Setting up Support Terraform in Sandbox Cloud
Goals
- Create a new Terraform/Pipeline-driven Support project in my personal GCP Sandbox
- Work arounds
- Work-around work around (when the generated project does not begin with a letter)
- Practice spinning environments
Setting up build/test/run apparatus
- Create a Sandbox account (already done)
- Create a GCP account (already done)
- test terraform environment (created with Ben, but I broke it with a type-o, and then Vlad made it work but recommended to start over)
-
mjl-sr-0 terraform environment start-over, but hit a snag because the ID starts with
8
Experiment Procedures
-
Using Sandbox Cloud to provision Support Resources with Terraform (video)
-
When creating a DNS zone, give the Zone name an alphabet prefix, such as
env-
-
Follow the other workaround steps
-
Validate
Outcomes
- If you change the DNS zone name to include
env-
then you must make sure that the CI variableTF_VAR_gcp_dns_zone_name
is the same.
Conclusions
Concerns?
Where am I stuck or what don't I understand?
Next steps
-
Practice spinning up a Basic (no gitlab, just ubuntu) VM (job log) -
Practice spinning up a GitLab VM -
Practice setup using HTTPS -
Including Pages
-
-
Practice spinning up a GitLab + Runner (+ Elastic?)
Edited by Mike Lockhart | GitLab