Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 730 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 730 Bytes

terraform-github-template

How to use it

Create the file terraform.tfvars containing your secrets:

github_token = ""

Before using it for the first time you would need to run:

terraform init

For reviewing and deploying future changes:

terraform plan
terraform apply

Examples

Importing repositories

terraform import module.repositories.module.terraform-github-template.github_repository.repo terraform-github-template
terraform import module.repositories.module.terraform-github-template.github_branch.default terraform-github-template:master
terraform import module.repositories.module.terraform-github-template.github_branch_default.default terraform-github-template