~/talk

Staying DRY Using Terraform Workspaces with GitLab-CI

Talkat HashiTalks 2019 · 2019-02-21..02-22· [developer-experience]
links:none on file
slides:none on file

Demo shows a CI/CD workflow that uses Terraform Workspaces with GitLab-CI to avoid copying env folders by naming state files via workspace interpolation, using an S3 backend that becomes AWS/<workspace>/tfstate. Pipeline sets workspace to commit slug, runs terraform validate and plan, passes a plan artifact to a manual approve job, then applies. Also demonstrates remote state as a data source and an assume-role mapping to run across accounts; the demo deploys resources successfully.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 1:02Tools and typical sprawl
  3. 2:52Understanding workspaces
  4. 3:56Workspace benefits and use cases
  5. 6:33GitLab CI overview
  6. 7:19Terraform and GitLab demo
  7. 11:23Code structure and hooks
  8. 12:47Best practices and conclusion
  9. 14:45Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.