aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.packer
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-10-29 06:58:05 +0000
committerPeter Mikus <pmikus@cisco.com>2021-11-02 14:24:16 +0000
commit46db3f826b74ad54f8ef1a1ba54c17200f6482ce (patch)
treeaba083515a4cd829990878aa62c5603033561138 /fdio.infra.packer
parent282240ecada68e8a6811996057cfdae222fe1be2 (diff)
feat(Terraform): AWS account migration
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I2aeece4296aff18bf87304312a26368df267fac0
Diffstat (limited to 'fdio.infra.packer')
-rw-r--r--fdio.infra.packer/aws_c5n/ubuntu_focal.pkr.hcl20
1 files changed, 10 insertions, 10 deletions
diff --git a/fdio.infra.packer/aws_c5n/ubuntu_focal.pkr.hcl b/fdio.infra.packer/aws_c5n/ubuntu_focal.pkr.hcl
index 4a09160261..06d849abb3 100644
--- a/fdio.infra.packer/aws_c5n/ubuntu_focal.pkr.hcl
+++ b/fdio.infra.packer/aws_c5n/ubuntu_focal.pkr.hcl
@@ -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