/template-terraform

terraform repo template

Primary LanguageHCLOtherNOASSERTION

pre-commit taskfile Terraform Remote State file

Customer Terraform Infra

Infrastructure as Code (IaC) with Terraform.

Template introductions - remove me when initialized

  • README.md: update h1
  • README.md: update link to remote state file below
Table of Contents

Code-Style

Terraform

Best practices

terraform-best-practices.com

Naming of Terraform resources

  • lower-case characters
  • underscores

Pattern: [a-z_]+

Naming of Google Cloud resources

  • lower-case characters
  • hyphen

Pattern: [a-z-]+

Getting Started

Prerequisties

Initialize repository

Terraform and pre-commit framework need to get initialized.

task terraform:init
task pre-commit:init

Configuration

Preparation

All changes require a PR and review. Create a new branch and reference a Jira ticket, f.e.

git switch -c feature/INPRO-1-configure-resource

Howto add resources

Terraform

Known Issues