Skip to content

Resource "aws_default_network_acl" orphaned subnet_ids #529

@jeremyciak

Description

@jeremyciak

I'm not sure what changed but it seems like something recently corresponds with the blurb here on Managing Subnets in the Default Network ACL for the aws_default_network_acl resource. I am getting continuously prompted that the currently associated subnets will be removed. I believe this module either needs to populate the subnet_ids value for the aws_default_network_acl resource or the following lifecycle configuration on the resource is needed:

resource "aws_default_network_acl" "default" {
  # ... other configuration ...

  lifecycle {
    ignore_changes = [subnet_ids]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions