We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c76e6 commit 7ffc3ddCopy full SHA for 7ffc3dd
main.tf
@@ -7,7 +7,7 @@ locals {
7
}
8
9
data "aws_ssm_parameter" "this" {
10
- count = local.create ? 1 : 0
+ count = local.create && var.ami == null ? 1 : 0
11
12
name = var.ami_ssm_parameter
13
0 commit comments