Created
April 18, 2020 19:14
-
-
Save david7482/fd901fedc7e60f0e6a80b330568ceb14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_efs_file_system" "efs" { | |
tags = { | |
Name = "filebrowser" | |
} | |
} | |
resource "aws_efs_mount_target" "mount" { | |
file_system_id = aws_efs_file_system.efs.id | |
// create efs mount targets for each AZ | |
for_each = data.aws_subnet_ids.default.ids | |
subnet_id = each.value | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment