~/talk

Understanding the GitHub Provider for Terraform

Talkat HashiTalks 2020 · 2020-02-20..02-21· [devops-and-delivery]
slides:none on file

Covers using the GitHub Terraform provider to manage orgs, teams, memberships and ~500 repositories across half a dozen orgs, requiring Terraform 0.12+ and provider version pinning; authorization uses a personal access token (treat as secret, prefer Vault) and avoid granting no delete_repo scope so terraform won’t accidentally destroy repos; demonstrates repo creation with a single name attribute, branch protection including require signed commits, team repo permissions, and the rename workflow that uses terraform state rm / import because renaming triggers delete-and-recreate.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22Who am I
  3. 1:56What is a provider
  4. 3:55Setup
  5. 7:37GitHub Organization Identifier
  6. 9:39Adding a Member
  7. 11:15Creating a Team
  8. 12:04Adding Users
  9. 13:18Managing Team Structure
  10. 18:13Renaming Resources
  11. 21:28GitHub Team Repository
~/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.