-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
40 lines (39 loc) · 805 Bytes
/
main.tf
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
36
37
38
39
40
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"
}
random = {
source = "hashicorp/random"
version = "~>3.6.2"
}
}
backend "s3" {
bucket = "bentley-project-secrets"
key = "bentley-project/terraform.tfstate"
region = "eu-west-2"
encrypt = true
}
}
provider "aws" {
region = "eu-west-2"
default_tags {
tags = {
ProjectName = var.project_name
Environment = var.environment
ManagedBy = "Terraform"
GitHubRepo = var.github_repo
Team = var.team_name
}
}
}