Skip to content

Commit

Permalink
Updated and testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lolli001 committed Jul 19, 2024
1 parent 0a89965 commit 19ed3ed
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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
}


Expand Down
2 changes: 1 addition & 1 deletion modules/image-pipeline/build.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down
File renamed without changes.

0 comments on commit 19ed3ed

Please sign in to comment.