feat(Terraform): AWS account migration
[csit.git] / fdio.infra.packer / aws_c5n / ubuntu_focal.pkr.hcl
index 4a09160..06d849a 100644 (file)
@@ -10,7 +10,7 @@ packer {
 variable "first_run_commands" {
   description = "Commands to run before deployment via remote-exec"
   type        = list(string)
-  default     = [
+  default = [
     ""
   ]
 }
@@ -18,7 +18,7 @@ variable "first_run_commands" {
 variable "last_run_commands" {
   description = "Commands to run after deployment via remote-exec"
   type        = list(string)
-  default     = [
+  default = [
     "sudo sed -i 's/Unattended-Upgrade \"1\"/Unattended-Upgrade \"0\"/g' /etc/apt/apt.conf.d/20auto-upgrades"
   ]
 }
@@ -48,10 +48,10 @@ variable "ansible_provision_pwd" {
 }
 
 source "amazon-ebs" "csit_c5n_ubuntu_focal_sut" {
-  ami_name         = "csit_c5n_ubuntu_focal_sut"
-  ami_description  = "CSIT SUT image based on Ubuntu Focal"
-  ena_support      = true
-  instance_type    = "c5n.4xlarge"
+  ami_name        = "csit_c5n_ubuntu_focal_sut"
+  ami_description = "CSIT SUT image based on Ubuntu Focal"
+  ena_support     = true
+  instance_type   = "c5n.4xlarge"
   launch_block_device_mappings {
     device_name = "/dev/sda1"
     volume_size = 40
@@ -65,10 +65,10 @@ source "amazon-ebs" "csit_c5n_ubuntu_focal_sut" {
 }
 
 source "amazon-ebs" "csit_c5n_ubuntu_focal_tg" {
-  ami_name         = "csit_c5n_ubuntu_focal_tg"
-  ami_description  = "CSIT TG image based on Ubuntu Focal"
-  ena_support      = true
-  instance_type    = "c5n.4xlarge"
+  ami_name        = "csit_c5n_ubuntu_focal_tg"
+  ami_description = "CSIT TG image based on Ubuntu Focal"
+  ena_support     = true
+  instance_type   = "c5n.4xlarge"
   launch_block_device_mappings {
     device_name = "/dev/sda1"
     volume_size = 40