-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathterraform.tfvars
92 lines (81 loc) · 2.19 KB
/
terraform.tfvars
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/*---------------------------------------------------------
Provider Variable
---------------------------------------------------------*/
region = "us-east-1"
/*---------------------------------------------------------
Common Variables
---------------------------------------------------------*/
project = "scenario3-sftp-efs"
env_name = "dev"
tags = {
Env = "DEV"
Project = "scenario3-sftp-efs"
}
/*---------------------------------------------------------
Datasource Variables
---------------------------------------------------------*/
#Make sure that target VPC is identified uniquely via these tags
vpc_tags = {
"transfer/sftp/efs" = "1"
"Env" = "DEV"
}
#Make sure that target subnets are tagged correctly
subnet_tags = {
"transfer/sftp/efs" = "1"
"Env" = "DEV"
}
/*---------------------------------------------------------
SFTP Server Variables
---------------------------------------------------------*/
r53_zone_name = "your-r53-zone"
server_name = "scenario3"
#sftp_encryptions = null
sftp_encryptions = {
encrypt_logs = true
logs_kms_alias = ""
encrypt_lambda = true
lambda_kms_alias = null
encrypt_sns = true
sns_kms_alias = "" #"alias/scenario1-sftp/sns"
}
create_common_logs = false
#Create new EFS
efs_id = null
#Create new EFS AP
efs_ap_id = null
# Create new EFS SG
efs_sg_tags = null
#create kms for EFS encryption
efs_kms_alias = ""
#create new roles
user_role = null
logging_role = null
lambda_role = null
sftp_users = [
{
"name" = "test1"
"uid" = "3001"
"gid" = "4000"
"ssh_key_file" = "./users/test.pub"
},
# {
# "name" = "test2"
# "uid" = "3002"
# "gid" = "4000"
# "ssh_key_file" = "./users/test.pub"
# },
# {
# "name" = "test3"
# "uid" = "3003"
# "gid" = "4000"
# "ssh_key_file" = "./users/test.pub"
# }
]
#List of email addresses to receive user automation emails, recommend using group email
sftp_user_automation_subscribers = [
]
#List of email address to receive daily activity report, recommend using group email
sftp_daily_report_subscribers = [
]