-
Notifications
You must be signed in to change notification settings - Fork 2
/
cloud-config.tf
45 lines (38 loc) · 1.14 KB
/
cloud-config.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
41
42
43
44
45
#############################################################################################################################
#
# Provider - AWS
#
provider "aws" {
region = "us-east-1"
## AWS Profile Master Account que permite o Assume Role
profile = "aws-profile-master"
## IAM Role na linked account
assume_role {
role_arn = "arn:aws:iam::AWS-ID-ACCOUNT:role/NomeRoleAccess"
}
}
terraform {
backend "s3" {
profile = "aws-profile-master"
bucket = "s3-bucket-tfstate"
key = "edp-acc-master/guardrail-notification/terraform.tfstate"
region = "us-east-1"
encrypt = true
skip_credentials_validation = true
skip_metadata_api_check = true
}
}
#############################################################################################################################
#
# Variavies de Input Global
#
locals {
# Stack Name Global
stack_name = "GuardrailChangeCompliance"
# Tag Resource
default_tags = {
SquadTeam = "SRE"
CostCenter = "12345678"
Environment = "Production"
}
}