AWS EFS file-system inventory

Associate EFS file systems with the workloads that use them.

Description

The inventory lists EFS file systems declared in Terraform.

Potential impact

Untracked shares can accumulate costs or fall outside access and backup reviews.

Remediation

Record the owner and workloads. Check mount targets, security groups, encryption and backups.

Examples

The example tags this file system for the shared-storage service in production.

Before

hcl
resource "aws_efs_file_system" "shared" {
  creation_token = "shared-storage"
}

After

hcl
resource "aws_efs_file_system" "shared" {
  creation_token = "shared-storage"

  tags = {
    Service     = "shared-storage"
    Environment = "production"
  }
}

References