Skip to content

Equinor Terraform Baseline

Equinor Terraform Baseline (ETB) is:

  • A set of best practices for creating reusable Terraform modules using the Azure provider.
  • A library of reusable Terraform modules that have been created using these best practices.

ETB is currently written as an extension of Terraform Best Practices, however the long-term goal is for ETB to be a complete replacement.

Before using ETB, you should be familiar with the following pages from the official Terraform documentation:

Usage

Version updates

Use Dependabot to keep modules you use updated to the latest versions.

Create a Dependabot configuration file .github/dependabot.yml in your repository containing the following configuration:

version: 2
updates:
  - package-ecosystem: terraform
    directories: [/terraform/**/*]
    groups:
      terraform:
        patterns: ["*"]