Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 8, 2022
1 parent c595a03 commit f53a4ac
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 @@ -63,7 +63,7 @@ locals {

# short_service = length(regexall("^com.amazonaws", var.service)) == 0 ? var.service : replace(local.service, format("com.amazonaws.%v.", local.region), "")
# short_service = element(local.full_service_parts, length(local.full_service_parts) - 1)
short_service = join(".", slice(local.full_service_parts, index(local.full_service_parts, local.region), length(local.full_service_parts)))
short_service = join(".", slice(local.full_service_parts, index(local.full_service_parts, local.region) + 1, length(local.full_service_parts)))

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

0 comments on commit f53a4ac

Please sign in to comment.