Skip to content

Commit

Permalink
migrating linux pipeline to s3 source (#7)
Browse files Browse the repository at this point in the history
* migrating linux pipeline to s3 source

* terraform fmt

---------

Co-authored-by: arnol377 <github-actions@census.gov>
  • Loading branch information
arnol377 and arnol377 committed Aug 14, 2024
1 parent e6dc993 commit f6cfd9c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions linux.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ module "amazon_linux" {
create_new_role = true
create_vpc_endpoint = true
ssh_user = "ec2-user"
playbook = "hello-world.yaml"
terraform_version = "1.8.5"
build_permissions_iam_doc = data.aws_iam_policy_document.s3_access
build_environment_variables = [
Expand All @@ -27,8 +26,17 @@ module "amazon_linux" {
name = aws_s3_bucket.assets_bucket.bucket
key = "linux-image-pipeline.zip"
}
ansible_repo = data.aws_codecommit_repository.ansible
goss_repo = data.aws_codecommit_repository.goss
ansible_source_type = "S3"
ansible_bucket = {
name = aws_s3_bucket.assets_bucket.bucket
key = "image-pipeline-ansible-playbooks.zip"
}
playbook = "hello-world.yaml"
goss_source_type = "S3"
goss_bucket = {
name = aws_s3_bucket.assets_bucket.bucket
key = "image-pipeline-goss-testing.zip"
}
goss_profile = "base-test"
state = local.state_config
vpc_config = local.vpc_config
Expand Down

0 comments on commit f6cfd9c

Please sign in to comment.