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 = <