Skip to content

Commit 5c8c99e

Browse files
authored
Merge branch 'master' into feat-support-per-subnet-name-tags
2 parents bc75244 + 573f574 commit 5c8c99e

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.96.1
3+
rev: v1.96.2
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_docs

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [5.17.0](https://github.com/terraform-aws-modules/terraform-aws-vpc/compare/v5.16.0...v5.17.0) (2024-12-18)
6+
7+
8+
### Features
9+
10+
* Define default name for VPC endpoint ([#1151](https://github.com/terraform-aws-modules/terraform-aws-vpc/issues/1151)) ([41348d3](https://github.com/terraform-aws-modules/terraform-aws-vpc/commit/41348d36b3fee6bc5cd58fed18c1210401ea128e))
11+
512
## [5.16.0](https://github.com/terraform-aws-modules/terraform-aws-vpc/compare/v5.15.0...v5.16.0) (2024-11-18)
613

714

modules/vpc-endpoints/main.tf

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ resource "aws_vpc_endpoint" "this" {
4444
}
4545
}
4646

47-
tags = merge(var.tags, try(each.value.tags, {}))
47+
tags = merge(
48+
var.tags,
49+
{ "Name" = replace(each.key, ".", "-") },
50+
try(each.value.tags, {}),
51+
)
4852

4953
timeouts {
5054
create = try(var.timeouts.create, "10m")

0 commit comments

Comments
 (0)