Skip to content

VPC Endpoints should add Name tag by default #1150

@aldenquimby

Description

@aldenquimby

Is your request related to a new offering from AWS?

No

Is your request related to a problem? Please describe.

When adding vpc-endpoints, I currently add a tag for Name on each, like this:

    execute-api = {
      service = "execute-api"
      tags    = { Name = "execute-api-vpc-endpoint" }
    }
    textract-fips = {
      service = "textract-fips"
      tags    = { Name = "textract-fips-vpc-endpoint" }
    }
    transcribe = {
      service = "transcribe"
      tags    = { Name = "transcribe-vpc-endpoint" }
    }

Describe the solution you'd like.

It would be nice if Name tags were auto-added if service is specified, so I could do this instead:

    execute-api = {
      service = "execute-api"
    }
    textract-fips = {
      service = "textract-fips"
    }
    transcribe = {
      service = "transcribe"
    }

Describe alternatives you've considered.

Manually specifying Names works, it's just verbose

Additional context

  • The security group within the vpc-endpoints module already auto-adds a Name tag, which is nice:
    tags = merge(
    var.tags,
    var.security_group_tags,
    { "Name" = try(coalesce(var.security_group_name, var.security_group_name_prefix), "") },
    )

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