From 89064cd059647aac49770449eb15138ec4a2808a Mon Sep 17 00:00:00 2001 From: lolli001 Date: Wed, 24 Jul 2024 13:08:35 -0400 Subject: [PATCH] MAss Update --- backend.tf | 2 +- iam_policy.tf | 3 +-- modules/image-pipeline/build.pkr.hcl | 5 +++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backend.tf b/backend.tf index a4e98d2..9fc2bbc 100644 --- a/backend.tf +++ b/backend.tf @@ -6,4 +6,4 @@ terraform { dynamodb_table = "tf_remote_state" profile = "229685449397-csvd-dev-gov.inf-admin-t2" } -} +} \ No newline at end of file diff --git a/iam_policy.tf b/iam_policy.tf index 67c6f0f..75f243a 100644 --- a/iam_policy.tf +++ b/iam_policy.tf @@ -177,5 +177,4 @@ resource "aws_iam_policy" "rhel_x86_ec2_permissions" { resource "aws_iam_role_policy_attachment" "rhel_x86_ec2_role_attachment" { role = aws_iam_role.rhel_x86_ec2_role.name policy_arn = aws_iam_policy.rhel_x86_ec2_permissions.arn -} - +} \ No newline at end of file diff --git a/modules/image-pipeline/build.pkr.hcl b/modules/image-pipeline/build.pkr.hcl index fe5f278..b1677f5 100644 --- a/modules/image-pipeline/build.pkr.hcl +++ b/modules/image-pipeline/build.pkr.hcl @@ -1,6 +1,6 @@ source "amazon-ebs" "rhel" { ami_name = "rhel-arm-{{timestamp}}" - instance_type = "t3.micro" + instance_type = "t4g.micro" # Ensure the instance type is ARM64 compatible region = "us-gov-west-1" source_ami = "ami-03f5c6b8195c66b04" # Updated AMI ID for RHEL 9 ARM ssh_username = "ec2-user" @@ -15,8 +15,9 @@ build { } post-processor "shell-local" { + inline_shebang = "/bin/sh" inline = [ "echo 'Build finished!'", ] } -} +} \ No newline at end of file