Skip to content

Commit 553faca

Browse files
committed
fix: avoid passing around owner id as this is supported in the
gh action
1 parent faf337a commit 553faca

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

stage2-nix-psql.pkr.hcl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ variable "force-deregister" {
4242
default = false
4343
}
4444

45-
variable "ami-owner-id" {
46-
type = string
47-
default = ""
48-
}
49-
5045
packer {
5146
required_plugins {
5247
amazon = {
@@ -67,7 +62,7 @@ source "amazon-ebs" "ubuntu" {
6762
virtualization-type = "hvm"
6863
}
6964
most_recent = true
70-
owners = ["${var.ami-owner-id}"]
65+
owners = ["amazon", "self"]
7166
}
7267
ssh_username = "ubuntu"
7368
ena_support = true

0 commit comments

Comments
 (0)