mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-16 01:38:58 +03:00
Adding tags to subnets
This commit is contained in:
@@ -20,4 +20,18 @@ module "vpc" {
|
|||||||
Terraform = "true"
|
Terraform = "true"
|
||||||
Environment = "${local.environment}"
|
Environment = "${local.environment}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private_subnet_tags = {
|
||||||
|
Name = "private-${var.prefix}-${var.name}"
|
||||||
|
Terraform = "true"
|
||||||
|
Environment = "${local.environment}"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public_subnet_tags = {
|
||||||
|
Name = "public-${var.prefix}-${var.name}"
|
||||||
|
Terraform = "true"
|
||||||
|
Environment = "${local.environment}"
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user