Skip to content

Commit 1976236

Browse files
committed
Reduce number of regions where the image can be shared
Unfortunately we hit the quota limit, while images are not used. ``` Build 'amazon-ebs.source' errored after 14 minutes 35 seconds: Error modify AMI attributes: ResourceLimitExceeded: You have reached your quota of 5 for the number of public images allowed in this Region. Deregister unused public images or make them private, or request an increase in your public AMIs quota. status code: 400, request id: 9dbc1f11-c4e4-41bc-b395-c545b84fa21b ==> Wait completed after 14 minutes 35 seconds ==> Some builds didn't complete successfully and had errors: --> amazon-ebs.source: Error modify AMI attributes: ResourceLimitExceeded: You have reached your quota of 5 for the number of public images allowed in this Region. Deregister unused public images or make them private, or request an increase in your public AMIs quota. status code: 400, request id: 9dbc1f11-c4e4-41bc-b395-c545b84fa21b ```
1 parent de5a34a commit 1976236

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packer/studio_ami.pkr.hcl

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ packer {
88
}
99

1010
variables {
11-
image_name = "studio-selfhosted-{{isotime `2006-01-02`}}"
11+
image_name = "studio-selfhosted"
1212
image_description = "Iterative Studio Selfhosted - {{isotime `2006-01-02`}}"
1313
aws_build_region = "us-east-1"
1414
aws_build_instance = "c6a.large"
@@ -88,9 +88,8 @@ source "amazon-ebs" "source" {
8888
source_ami = data.amazon-ami.ubuntu.id
8989
ssh_username = "ubuntu"
9090

91-
9291
force_delete_snapshot = !var.skip_create_ami
93-
force_deregister = !var.skip_create_ami
92+
# force_deregister = !var.skip_create_ami
9493

9594
tags = local.aws_tags
9695
run_tags = local.aws_tags

0 commit comments

Comments
 (0)