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 26, 2023
1 parent 99fa169 commit ca24ada
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions meilisearch.pkr.hcl
Expand Up @@ -31,10 +31,35 @@ 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_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 ca24ada

Please sign in to comment.