From c41865e5cb083b43ec1d47d8b5124e5faa2219a3 Mon Sep 17 00:00:00 2001 From: Faiq Date: Fri, 19 Jul 2024 12:14:22 -0700 Subject: [PATCH] fix: remove snapshot groups (#1124) --- pkg/packer/manifests/aws/packer.pkr.hcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/packer/manifests/aws/packer.pkr.hcl b/pkg/packer/manifests/aws/packer.pkr.hcl index bd582d103..84540d5b3 100644 --- a/pkg/packer/manifests/aws/packer.pkr.hcl +++ b/pkg/packer/manifests/aws/packer.pkr.hcl @@ -151,8 +151,8 @@ variable "skip_profile_validation" { } variable "snapshot_groups" { - type = string - default = "all" + type = list(string) + default = [] } variable "snapshot_users" { @@ -382,7 +382,7 @@ source "amazon-ebs" "kib_image" { secret_key = var.aws_secret_key security_group_id = var.security_group_id skip_profile_validation = var.skip_profile_validation - snapshot_groups = split(",", var.snapshot_groups) + snapshot_groups = var.snapshot_groups snapshot_tags = { ami_name = local.ami_name }