/*--------------------------------------------------------- Provider Variable ---------------------------------------------------------*/ variable "region" { description = "The AWS Region e.g. us-east-1 for the environment" type = string } /*--------------------------------------------------------- Common Variables ---------------------------------------------------------*/ variable "project" { description = "Project name (prefix/suffix) to be used on all the resources identification" type = string } variable "env_name" { description = "Environment name e.g. dev, prod" type = string } variable "tags" { description = "Common and mandatory tags for the resources" type = map(string) } /*--------------------------------------------------------- Data Source Variables ---------------------------------------------------------*/ variable "vpc_tags" { description = "Tags to discover target VPC, these tags should uniquely identify a VPC" type = map(string) } variable "subnet_tags" { description = "Tags to discover target subnets in the VPC, these tags should identify one or more subnets" type = map(string) } /*--------------------------------------------------------- EFS Variables ---------------------------------------------------------*/ variable "kms_alias" { description = "KMS Alias to discover KMS for EFS encryption, if not provided, a new CMK will be created" type = string default = null } variable "efs_id" { description = "EFS File System Id, if not provided a new EFS will be created" type = string default = null } variable "security_group_tags" { description = "Tags used to discover EFS Security Group, if not provided, new EFS security group will be created" type = map(string) default = null } variable "efs_access_point_specs" { description = "List of EFS Access Point Specs to be created. It can be an empty list." type = list(object({ efs_ap = string # unique name e.g. common_sftp uid = number gid = number secondary_gids = list(number) root_path = string # e.g. /{env}/{project}/{purpose}/{name} owner_uid = number # e.g. 0 owner_gid = number # e.g. 0 root_permission = string # e.g. 0755 principal_arns = list(string) })) default = [] }