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
30provider "aws" {
region = var.aws_region
allowed_account_ids = length(var.allowed_account_ids) > 0 ? var.allowed_account_ids : null
default_tags {
tags = {
Project = "equalify"
Environment = var.environment
ManagedBy = "terraform"
}
}
}
# CloudFront requires ACM certificates to exist in us-east-1, regardless of
# where the rest of the stack is deployed. Only used when var.domain_name
# is set and frontend_hosting needs a custom-domain certificate.
provider "aws" {
alias = "us_east_1"
region = "us-east-1"
allowed_account_ids = length(var.allowed_account_ids) > 0 ? var.allowed_account_ids : null
default_tags {
tags = {
Project = "equalify"
Environment = var.environment
ManagedBy = "terraform"
}
}
}