aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra/packer-aws-sut
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-07-20 08:47:57 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-07-20 09:41:28 +0000
commita0f95347bfe6569496d5000506d925ce1eef2524 (patch)
tree71ead93733ce1262e88c929b8d9528d507ed30b5 /fdio.infra/packer-aws-sut
parentc1ddda9b19f448c6c38ad3705f50b6fffe9cb80e (diff)
feat(terraform): Add 3n-c6in, use intel TG for ARMoper-230724
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Icac039f959b0dda007bc06152602e6fb42e5f7a1
Diffstat (limited to 'fdio.infra/packer-aws-sut')
-rw-r--r--fdio.infra/packer-aws-sut/ubuntu_jammy_arm.pkr.hcl42
1 files changed, 1 insertions, 41 deletions
diff --git a/fdio.infra/packer-aws-sut/ubuntu_jammy_arm.pkr.hcl b/fdio.infra/packer-aws-sut/ubuntu_jammy_arm.pkr.hcl
index 6a81b70e56..135d1c353e 100644
--- a/fdio.infra/packer-aws-sut/ubuntu_jammy_arm.pkr.hcl
+++ b/fdio.infra/packer-aws-sut/ubuntu_jammy_arm.pkr.hcl
@@ -64,23 +64,6 @@ source "amazon-ebs" "csit_ubuntu_jammy_arm_sut" {
ssh_username = "ubuntu"
}
-source "amazon-ebs" "csit_ubuntu_jammy_arm_tg" {
- ami_name = "csit_ubuntu_jammy_arm_tg"
- ami_description = "CSIT TG image based on Ubuntu jammy"
- ena_support = true
- instance_type = "c6gn.4xlarge"
- launch_block_device_mappings {
- device_name = "/dev/sda1"
- volume_size = 40
- volume_type = "gp2"
- }
- force_deregister = true
- region = "eu-central-1"
- skip_create_ami = false
- source_ami = "ami-0329d3839379bfd15"
- ssh_username = "ubuntu"
-}
-
build {
name = "csit_ubuntu_jammy_arm_sut-packer"
sources = [
@@ -102,27 +85,4 @@ build {
provisioner "shell" {
inline = var.last_run_commands
}
-}
-
-build {
- name = "csit_ubuntu_jammy_arm_tg-packer"
- sources = [
- "source.amazon-ebs.csit_ubuntu_jammy_arm_tg"
- ]
- provisioner "shell" {
- inline = var.first_run_commands
- }
- provisioner "ansible" {
- playbook_file = var.ansible_file_path
- user = "ubuntu"
- groups = ["tg_aws"]
- extra_arguments = [
- "--extra-vars", "ansible_ssh_pass=${var.ansible_provision_pwd}",
- "--extra-vars", "ansible_python_interpreter=${var.ansible_python_executable}",
- "--extra-vars", "aws=true"
- ]
- }
- provisioner "shell" {
- inline = var.last_run_commands
- }
-}
+} \ No newline at end of file