Terraform module which creates Elastic File System resources on AWS.
Available features:
- Security Group - either created by the module
- Elastic File System - either created by the module
- Elastic File System Mount Target - either created by the module
module "efs" {
source = "Placidina/efs/aws"
version = "~> 0.4.0"
name = "example-efs"
vpc_id = "vpc-000000000000"
security_group_ids = ["sg-0000000000", "sg-111111111111"]
mount_target_subnet_ids = ["subnet-000000000", "subnet-11111111111", "subnet-2222222222"]
tags = {
Billing = "example"
}
}
Name | Version |
---|---|
terraform | >= 1.0.0 |
Name | Version |
---|---|
local | >= 2.1.0 |
aws | >= 3.45.0 |
No modules.
Name | Type |
---|---|
aws_security_group.this | resource |
aws_efs_file_system.this | resource |
aws_efs_mount_target.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
name | The name to identify all resources | string |
n/a | yes |
vpc_id | The VPC ID to create security group for EFS | string |
n/a | yes |
security_group_ids | The list of security group ids to allow access EFS port | list(string) |
n/a | yes |
file_system_encrypted | The EFS disk will be encrypted | bool |
false |
no |
file_system_performance_mode | The file system performance mode | string |
"generalPurpose" |
no |
file_system_creation_token | A unique name used as reference when creating the Elastic File System to ensure idempotent file system creation | string |
null |
no |
mount_target_subnet_ids | The list of subnet ids to mount target in | list(string) |
n/a | yes |
tags | Map of string for aditional tags to add in all resources | map(string) |
{} |
no |
Name | Description |
---|---|
name | EFS name |
file_system_arn | Amazon Resource Name of the file system |
file_system_id | The ID that identifies the file system |
mount_target_id | The ID of the mount target |
mount_target_dns_name | The DNS name for the EFS file system |
Module is maintained by Alan Placidina Maria.
Apache 2 Licensed. See LICENSE for full details.