Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 9, 2021
1 parent ca7516e commit 2def1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpc-interface-endpoint/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ locals {
region = data.aws_region.current.name

service = length(regexall("^com.amazonaws", var.service)) == 0 ? var.service : format("com.amazonaws.%v.%v", local.region, var.service)
short_service = length(regexall("^com.amazonaws", var.service)) == 0 ? var.service : replace(local._service, format("com.amazonaws.%v.", local.region), "")
short_service = length(regexall("^com.amazonaws", var.service)) == 0 ? var.service : replace(local.service, format("com.amazonaws.%v.", local.region), "")

base_tags = {
"boc:tf_module_version" = local._module_version
Expand Down

0 comments on commit 2def1d1

Please sign in to comment.