forked from newscorp-ghfb/NewsKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprovider.tf
36 lines (33 loc) · 878 Bytes
/
provider.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
provider "aws" {
region = "eu-west-1"
}
terraform {
required_version = ">= 1.2" # eg 1.2.1
required_providers {
aws = {
source = "hashicorp/aws"
version = "4.52.0"
}
}
backend "s3" {
bucket = "newskit-docs-dev-terraform-state"
dynamodb_table = "newskit-docs-dev-terraform-state-lock"
key = "newskit/s3-newskit/terraform.tfstate"
}
}
locals {
tags = {
Name = "ncu-newskit-s3${var.tag_name_suffix}"
Environment = var.environment
ServiceOwner = "product-platforms"
ServiceName = "ncu-newskit"
ServiceCatalogueId = 331
}
tags2 = {
Name = "ncu-newskit-s3${var.tag_name_suffix2}"
Environment = var.environment
ServiceOwner = "product-platforms"
ServiceName = "ncu-newskit"
ServiceCatalogueId = 331
}
}