Skip to content

Commit

Permalink
terraform, aws: customize subnet tags (#13)
Browse files Browse the repository at this point in the history
* terraform, aws: customize subnet tags

* terraform fmt -recursive
  • Loading branch information
clstokes authored Jun 11, 2024
1 parent 6cd1838 commit 9ec1abe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/aws/internal-modules/aws-vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ module "vpc" {
name = var.name
tags = var.tags

public_subnet_tags = merge(var.tags, { Name = "${var.name}-public" })
private_subnet_tags = merge(var.tags, { Name = "${var.name}-private" })

cidr = var.cidr

azs = var.azs != null ? var.azs : data.aws_availability_zones.available.zone_ids
Expand Down

0 comments on commit 9ec1abe

Please sign in to comment.