terraform-aws-modules / terraform-aws-vpc

Terraform module to create AWS VPC resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws
Apache License 2.0
2.92k stars 4.36k forks source link

Tag private subnets separately, like first 3 as app subnets and last 3 as data subnets #1076

Open apheera opened 1 month ago

apheera commented 1 month ago

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

Is your request related to a problem? Please describe.

I am creating 6 Private subnets and want to tag first 3 as app subnets and rest 3 as data subnets. How can I do that?

Describe the solution you'd like.

Either a separate tagging block based on subnet lookup or give capability to ignore tag changes within module so I can tag them separately.

Describe alternatives you've considered.

Described them above

Additional context

NA

edas-smith commented 1 month ago

Need this as well, though this PR should solve it : https://github.com/terraform-aws-modules/terraform-aws-vpc/pull/901. But it has been open for over a year now

github-actions[bot] commented 1 day ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days