Skip to content

Manage the Narochno Repositories with Terraform

Notifications You must be signed in to change notification settings

Narochno/Environment

Repository files navigation

Terraform Github org management

Attribues:

Importing Existing Repo

Usage terraform import <resource-id> <github repo>

So the resource is specified in the terraform template so using the command looks like this:

terraform import module.dapper.github_repository.repo Narochno.Dapper

Note the dapper part in the resource id matches the id to be placed in the terraform template

Usage

Add a GITHUB_TOKEN environment variable

Initialize modules: terraform get (only needed for first time and when adding a new terraform module) Preview changes: terraform plan Commit chagnes: terraform apply

Always commit and push terraform.tfstate files after updating

Let's manage

  • Descriptions
  • Branch protections
  • Webhooks

About

Manage the Narochno Repositories with Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages