-
Notifications
You must be signed in to change notification settings - Fork 2
/
variable-sets.tf
46 lines (44 loc) · 994 Bytes
/
variable-sets.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
46
# create variable set
module "aws_credentials_variable_set" {
source = "./modules/variable-set"
name = "aws_credentials"
org = var.org
variables = [
{
key = "AWS_ACCESS_KEY_ID"
value = var.aws.access_key_id
category = "env"
sensitive = true
},
{
key = "AWS_SECRET_ACCESS_KEY"
value = var.aws.secret_access_key
category = "env"
sensitive = true
},
{
key = "AWS_DEFAULT_REGION"
value = var.aws.default_region
category = "env"
sensitive = false
},
{
key = "AWS_REGION"
value = var.aws.region
category = "env"
sensitive = false
},
{
key = "AWS_SESSION_TOKEN"
value = var.aws.session_token
category = "env"
sensitive = true
},
{
key = "AWS_SECURITY_TOKEN"
value = var.aws.security_token
category = "env"
sensitive = true
},
]
}