Skip to content

Commit

Permalink
Update default tag values
Browse files Browse the repository at this point in the history
  • Loading branch information
sugdyzhekov authored Jul 18, 2020
1 parent 2f1beec commit 364b9cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
variable "tags" {
description = "Tags."
type = map(string)
default = {}
}
variable "name" {
description = "Prefix of your network name, 'RDS' or 'App' e.g."
Expand All @@ -27,8 +26,7 @@ locals {
route_table = var.route_table
vpc_id = data.aws_route_table.current.vpc_id
subnet_cidr = var.subnet_cidr
purpose = title(var.name)
name = "${local.purpose} ${var.type}"
name = var.name
type = lower(var.type)
az = var.zone
tags = merge({
Expand Down

0 comments on commit 364b9cd

Please sign in to comment.