Skip to content

Commit 9f65538

Browse files
committed
Missed region and tags template calls
1 parent 82e838d commit 9f65538

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

internal/service/codepipeline/testdata/Webhook/region_override/main_gen.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# SPDX-License-Identifier: MPL-2.0
33

44
resource "aws_codepipeline_webhook" "test" {
5+
region = var.region
6+
57
name = var.GITHUB_TOKEN
68
authentication = "GITHUB_HMAC"
79
target_action = "Source"

internal/service/codepipeline/testdata/tmpl/webhook_tags.gtpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
resource "aws_codepipeline_webhook" "test" {
2+
{{- template "region" }}
23
name = var.GITHUB_TOKEN
34
authentication = "GITHUB_HMAC"
45
target_action = "Source"
@@ -12,6 +13,8 @@ resource "aws_codepipeline_webhook" "test" {
1213
json_path = "$.ref"
1314
match_equals = "refs/head/{Branch}"
1415
}
16+
17+
{{- template "tags" . }}
1518
}
1619

1720
# testAccWebhookConfig_base

0 commit comments

Comments
 (0)