-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
73 lines (61 loc) · 1.63 KB
/
variables.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
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
variable "name" {
description = "Name of the Elastic File System"
type = string
}
variable "filesystem_subdirectory" {
description = "Subdirectory to perform actions as source or destination"
type = string
default = "/"
}
variable "bucket_name" {
description = "Name of the S3 bucket"
type = string
default = null
}
variable "bucket_acl" {
description = "ACL to apply to the S3 bucket"
type = string
default = "private"
}
variable "bucket_subdirectory" {
description = "Subdirectory to perform actions as source or destination"
type = string
default = "/"
}
variable "security_group_name" {
description = "Name of the Elastic File System security group mount targets"
type = string
default = null
}
variable "subnets" {
description = "IDs of subnets to create EFS Mount Targets in"
type = list(string)
}
variable "subnet_arn" {
description = "ARN of the subnet to use for the EFS Mount Target"
type = string
}
variable "ingress_cidr_blocks" {
description = "Allow ingress traffic to EFS Mount Targets from specified CIDR blocks"
type = list(string)
}
variable "vpc_id" {
description = "ID of the VPC for DataSync EFS Location Security Group"
type = string
}
variable "tags" {
description = "A map of tags applied to resources"
type = map(string)
default = {}
}
locals {
tags = merge(
var.tags,
{
Module = "terraform-aws-datasync-efs-s3"
ModuleSource = "terraform-aws-datasync-efs-s3"
},
)
}
data "aws_caller_identity" "current" {}
data "aws_region" "current" {}