Skip to content

Commit

Permalink
change map() to tomap()
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 6, 2022
1 parent 96c4348 commit fe020a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform-state/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ resource "aws_dynamodb_table" "tfstate" {
var.tags,
local.base_tags,
lookup(var.component_tags, "ddb", {}),
map("Name", var.tfstate_table),
tomap({ Name = var.tfstate_table }),
)

lifecycle {
Expand Down Expand Up @@ -126,7 +126,7 @@ resource "aws_s3_bucket" "tfstate" {
var.tags,
local.base_tags,
lookup(var.component_tags, "s3", {}),
map("Name", local.tfstate_bucket),
tomap({ Name = local.tfstate_bucket }),
)

}
Expand All @@ -150,7 +150,7 @@ resource "aws_kms_key" "tfstate_key" {
var.tags,
local.base_tags,
lookup(var.component_tags, "kms", {}),
map("Name", var.kms_tfstate_key)
tomap({ Name = var.kms_tfstate_key }),
)

lifecycle {
Expand Down

0 comments on commit fe020a0

Please sign in to comment.