Skip to content

Commit 696b7ac

Browse files
committed
feat: allow custom AMI usage in console AMI data source
1 parent 877c5a8 commit 696b7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ locals {
183183

184184
data "aws_ami" "console_ami" {
185185
most_recent = true
186-
owners = ["730389100204"]
186+
owners = var.use_custom_ami ? ["self"] : ["730389100204"]
187187

188188
filter {
189189
name = "name"

0 commit comments

Comments
 (0)