Skip to content

Commit

Permalink
Add all region to spread AWS image and make it public
Browse files Browse the repository at this point in the history
  • Loading branch information
alallema committed Apr 25, 2023
1 parent 99fa169 commit da18f4a
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion meilisearch.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,32 @@ packer {
source "amazon-ebs" "debian" {
ami_name = "${var.image_name}-${var.meilisearch_version}-${var.base-os-version}"
instance_type = "t2.small"
region = "us-east-1"
ami_regions = [
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
"af-south-1",
"ap-east-1",
"ap-south-1",
"ap-northeast-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-1",
"ca-central-1",
"eu-central-1",
"eu-west-1",
"eu-west-2",
"eu-south-1",
"eu-west-3",
"eu-north-1",
"me-south-1",
"sa-east-1",
]
ami_description = "Meilisearch-${var.meilisearch_version} running on in ${var.base-os-version}"
ami_groups = [
"all"
]
source_ami_filter {
filters = {
name = "debian-11-amd64*"
Expand Down

0 comments on commit da18f4a

Please sign in to comment.