diff --git a/README.md b/README.md index 1035740..e9b46e3 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,13 @@ export AWS_PROFILE=229685449397-csvd-dev-gov.inf-admin-t2 aws sts get-caller-identity + +Git Syncing / Mirroring: + +git remote add ansible-upstream https://git-codecommit.us-gov-west-1.amazonaws.com/v1/repos/image-pipeline-ansible-playbooks + +git remote add goss-upstream https://git-codecommit.us-gov-west-1.amazonaws.com/v1/repos/image-pipeline-goss-testing + git push origin main --force git push ansible-upstream main --force git push goss-upstream main --force diff --git a/main.tf b/main.tf index aaa5963..5ff36f6 100644 --- a/main.tf +++ b/main.tf @@ -127,7 +127,7 @@ module "rhel-arm" { create_new_role = true create_vpc_endpoint = false ssh_user = "ec2-user" - playbook = "ansible/rhel-arm-baseline.yaml" # Ensure the path is correct + playbook = "rhel-arm-baseline.yaml" # Updated path to main directory terraform_version = "1.8.5" build_permissions_iam_doc = data.aws_iam_policy_document.s3_access build_environment_variables = [ @@ -142,8 +142,8 @@ module "rhel-arm" { goss_profile = "rhel-arm-base-test" state = local.state_config vpc_config = local.vpc_config - source_ami = "ami-0ce8fc041db68907c" - instance_type = "t4g.micro" + source_ami = "ami-06ac1fe9004042996" # Updated AMI ID for RHEL 9 ARM + instance_type = "t4g.micro" # Ensure the instance type is ARM64 compatible } diff --git a/modules/image-pipeline/build.pkr.hcl b/modules/image-pipeline/build.pkr.hcl index ad15649..8a66da3 100644 --- a/modules/image-pipeline/build.pkr.hcl +++ b/modules/image-pipeline/build.pkr.hcl @@ -2,7 +2,7 @@ source "amazon-ebs" "rhel" { ami_name = "rhel-arm-{{timestamp}}" instance_type = "t4g.micro" region = "us-gov-west-1" - source_ami = "ami-06ac1fe9004042996" + source_ami = "ami-06ac1fe9004042996" # Updated AMI ID for RHEL 9 ARM ssh_username = "ec2-user" } diff --git a/ansible/rhel-arm-baseline.yaml b/rhel-arm-baseline.yaml similarity index 100% rename from ansible/rhel-arm-baseline.yaml rename to rhel-arm-baseline.yaml