-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterraform.tf
More file actions
48 lines (41 loc) · 818 Bytes
/
terraform.tf
File metadata and controls
48 lines (41 loc) · 818 Bytes
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
41
42
43
44
45
46
47
48
terraform {
required_version = ">= 1.1.7"
required_providers {
aws = {
source = "hashicorp/aws"
version = "4.15.1"
}
}
backend "s3" {
bucket = "zekia-terraform-state"
key = "terraform.tfstate"
region = "eu-west-2"
}
}
provider "aws" {
region = var.aws_region
default_tags {
tags = {
Environment = var.environment
Project = local.project
ProjectCode = "TRN.TRN16410"
}
}
}
provider "aws" {
alias = "cloudfront"
region = "us-east-1"
default_tags {
tags = {
Environment = var.environment
Project = local.project
ProjectCode = "TRN.TRN16410"
}
}
}
data "aws_s3_bucket" "state" {
bucket = "zekia-terraform-state"
}
data "aws_s3_bucket" "billing_data" {
bucket = "zekia-billingdatacapture"
}