Skip to content

Commit

Permalink
v1.4.1: vpc-interface-endpoint: minor change on tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 9, 2021
1 parent a336668 commit ca7516e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,8 @@
* v1.4.0 -- 20211109
- vpc-interface-endpoint
- create new submodule for setting up an interface endpoint

* v1.4.1 -- 20211109
- vpc-interface-endpoint
- minor change to tagging on name

2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "1.4.0"
_module_version = "1.4.1"
}
3 changes: 1 addition & 2 deletions vpc-interface-endpoint/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +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)
_service = split(".", local.service)
short_service = element(local._service, length(local._service))
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 ca7516e

Please sign in to comment.