From e8a6c43d2c2d32dbfd28f08d7f95b8d32b027668 Mon Sep 17 00:00:00 2001 From: lolli001 Date: Thu, 1 Aug 2024 17:54:33 -0400 Subject: [PATCH] Updates --- build.pkr.hcl | 24 +++++------------------- vpc.tf | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 19 deletions(-) create mode 100644 vpc.tf diff --git a/build.pkr.hcl b/build.pkr.hcl index 3f408e2..e51a67b 100644 --- a/build.pkr.hcl +++ b/build.pkr.hcl @@ -4,23 +4,17 @@ variable "project_name" { } variable "ansible_dir" { - type = string + type = string + default = "aws-image-pipeline" } source "amazon-ebs" "rhel" { ami_name = "${var.project_name}-{{timestamp}}" - instance_type = "t3.micro" # Instance type supporting x86_64 + instance_type = "t3.micro" region = "us-gov-west-1" - source_ami = "ami-03fadeeea589a106b" # Updated AMI ID for RHEL x86_64 + source_ami = "ami-03fadeeea589a106b" ssh_username = "ec2-user" - - # Set environment variables for proxy - user_data = <