Skip to content

Commit

Permalink
Merge pull request #3 from ovcharenko/main
Browse files Browse the repository at this point in the history
[ADD] Optional tags
  • Loading branch information
jnonino authored Jun 3, 2021
2 parents baa83a2 + 413b387 commit c5d6bbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
#------------------------------------------------------------------------------
resource "aws_ecs_cluster" "cluster" {
name = var.name
tags = var.tags
}

5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ variable "name" {
description = "The name of the cluster (up to 255 letters, numbers, hyphens, and underscores)"
}

variable "tags" {
type = map(string)
default = {}
description = "Resource tags"
}

0 comments on commit c5d6bbe

Please sign in to comment.