cp .envrc.example .envrc # and make sure to populate the variables in your .envrc
terraform init
terraform plan -target=github_enterprise_organization.org
terraform apply -target=github_enterprise_organization.org
Modify the GITHUB_OWNER
value in your .envrc
, this is will be the owner of the repos being created next...
terraform init
terraform plan -target=github_repository.repo
terraform apply -target=github_repository.repo