Skip to content

Commit

Permalink
MAss Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lolli001 committed Jul 24, 2024
1 parent e482b31 commit 89064cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion backend.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ terraform {
dynamodb_table = "tf_remote_state"
profile = "229685449397-csvd-dev-gov.inf-admin-t2"
}
}
}
3 changes: 1 addition & 2 deletions iam_policy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

}
5 changes: 3 additions & 2 deletions modules/image-pipeline/build.pkr.hcl
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -15,8 +15,9 @@ build {
}

post-processor "shell-local" {
inline_shebang = "/bin/sh"
inline = [
"echo 'Build finished!'",
]
}
}
}

0 comments on commit 89064cd

Please sign in to comment.