Skip to content

Commit

Permalink
Set up Terraform provider for GitHub
Browse files Browse the repository at this point in the history
Will let us manage (and self-document) our GitHub organization and repo
settings via this Terraform configuration.
  • Loading branch information
tsibley committed May 16, 2024
1 parent 4e0b461 commit 64f98c5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
24 changes: 24 additions & 0 deletions env/production/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions env/production/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ terraform {
source = "registry.terraform.io/hashicorp/aws"
version = "~> 4.32"
}
github = {
source = "integrations/github"
version = "~> 6.0"
}
}

backend "s3" {
Expand All @@ -25,3 +29,8 @@ terraform {
provider "aws" {
region = "us-east-1"
}

provider "github" {
# Authn is via GITHUB_TOKEN
owner = "nextstrain"
}

0 comments on commit 64f98c5

Please sign in to comment.