Skip to content

Commit

Permalink
fix: add provider "github" block with insecure=true for Census GHE TLS
Browse files Browse the repository at this point in the history
The Census GHE TLS cert is signed by the Census internal CA which is not
present in the CodeBuild container trust store. insecure=true disables
x509 verification so terraform apply can call the GHE API.
  • Loading branch information
Your Name committed Apr 7, 2026
1 parent 05d6103 commit d490e1f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ terraform {
}
}
}

# GITHUB_TOKEN and GITHUB_BASE_URL are injected as env vars by the Lambda.
# insecure = true is required because the Census GHE TLS certificate is signed
# by the Census internal CA, which is not in the CodeBuild container trust store.
provider "github" {
insecure = true
}

0 comments on commit d490e1f

Please sign in to comment.