Skip to content

Commit f407a4e

Browse files
committed
fix packer to not publish ami to publish market
1 parent bbd7ba6 commit f407a4e

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

packer/base-images/aws/base-image.pkr.hcl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ source "amazon-ebs" "aws_base_image" {
1616
secret_key = var.aws_secret_key
1717
communicator = "ssh"
1818
ami_name = "${var.image_prefix}-x64-v${var.buildtime}"
19-
ami_groups = ["all"]
2019
tags = {
2120
image_family = "${var.image_prefix}-x64"
2221
}
@@ -39,7 +38,6 @@ source "amazon-ebs" "aws_base_image_arm" {
3938
secret_key = var.aws_secret_key
4039
communicator = "ssh"
4140
ami_name = "${var.image_prefix}-arm-v${var.buildtime}"
42-
ami_groups = ["all"]
4341
tags = {
4442
image_family = "${var.image_prefix}-arm"
4543
}

packer/jenkins-agents/gpu/gpu-jenkins-agent.pkr.hcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ source "amazon-ebs" "jenkins_gpu_image" {
1616
access_key = var.aws_access_key
1717
secret_key = var.aws_secret_key
1818
communicator = "ssh"
19-
ami_groups = ["all"]
2019
ami_name = "${var.image_prefix}-x64-v${var.buildtime}"
2120
tags = {
2221
image_family = "${var.image_prefix}-x64"

packer/jenkins-agents/stock/stock-jenkins.pkr.hcl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ source "amazon-ebs" "jenkins_stock_image" {
1616
secret_key = var.aws_secret_key
1717
communicator = "ssh"
1818
ami_name = "${var.image_prefix}-x64-v${var.buildtime}"
19-
ami_groups = ["all"]
2019
tags = {
2120
image_family = "${var.image_prefix}-x64"
2221
}
@@ -39,7 +38,6 @@ source "amazon-ebs" "jenkins_stock_image_arm" {
3938
secret_key = var.aws_secret_key
4039
communicator = "ssh"
4140
ami_name = "${var.image_prefix}-arm-v${var.buildtime}"
42-
ami_groups = ["all"]
4341
tags = {
4442
image_family = "${var.image_prefix}-arm"
4543
}

0 commit comments

Comments
 (0)