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 7ffc3dd

Browse files
feat: Remove call data ssm parameter when ami id is specified (#351)
1 parent 24c76e6 commit 7ffc3dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ locals {
77
}
88

99
data "aws_ssm_parameter" "this" {
10-
count = local.create ? 1 : 0
10+
count = local.create && var.ami==null? 1 : 0
1111

1212
name = var.ami_ssm_parameter
1313
}

0 commit comments

Comments
(0)

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