mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-15 01:08:58 +03:00
Adding tags to subnets
This commit is contained in:
@@ -20,4 +20,18 @@ module "vpc" {
|
||||
Terraform = "true"
|
||||
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