aboutsummaryrefslogtreecommitdiffstats
path: root/terraform/main.tf
blob: 206fc74e163816a6e64500ae4cedcc1b044b8ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
terraform {
  required_version = ">= 1.8.0"
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~>5.0"
    }
    null = {
      source  = "hashicorp/null"
      version = "~>3.2.2"
    }
    archive = {
      source  = "hashicorp/archive"
      version = "~>2.5.0"
    }
  }
  backend "s3" {
    bucket = "bentley-project-secrets"
    key    = "bentley-project/terraform.tfstate"
    region = "eu-west-2"
  }
}

provider "aws" {
  region = "eu-west-2"
  default_tags {
    tags = {
      ProjectName = "Terrific-Totes"
      Team        = "Team-Bentley"
      Environment = "Dev"
      GitHubRepo  = "de-project-bentley"
      ManagedBy   = "Terraform"
    }
  }
}
git.ajschof.me — hosted by ajschofield — powered by cgit