Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9a7f9b5

Browse files
tvonbryantbiggs
andauthored
fix: Ensure var.region is passed through aws_region data source (#329)
* Use provided region in aws:SourceArn condition * Remove un-used data source * Update README * Restore local.region Given var.region can be null, add another try() to check for a provided value before falling back to current region. * Fix logic * fix: Correct logic through region data source --------- Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
1 parent 9806358 commit 9a7f9b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎modules/service/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
data "aws_region" "current" {
2+
region = var.region
3+
24
count = var.create ? 1 : 0
35
}
46
data "aws_partition" "current" {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /