Skip to content

Commit

Permalink
adding linux and window image pipeline packer config repos
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Jul 8, 2024
1 parent 2951eac commit 38f3610
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ module "image_pipeline" {
module "beanstalk-demo" {
source = "git@github.e.it.census.gov:CSVD/terraform-github-repo"
#github_codeowners_team = "CSVD"
github_repo_description = "Terraform Workspace for creating and managing AWS Dev Network"
github_repo_description = "Terraform Workspace for creating and managing AWS Beanstalk Demo"
repo_org = "arnol377"
name = "beanstalk-flask-demo"
github_repo_topics = [
Expand All @@ -225,27 +225,43 @@ module "beanstalk-demo" {
admin_teams = [github_team.team.name]
}

module "image-pipeline-ansible-roles" {
module "image_pipeline_ansible_playbooks" {
source = "git@github.e.it.census.gov:CSVD/terraform-github-repo"
#github_codeowners_team = "CSVD"
github_repo_description = "Terraform Workspace for creating and managing AWS Dev Network"
github_repo_description = "Repo for creating and managing Ansible Playbooks for use in Image Pipeline"
repo_org = "arnol377"
name = "image-pipeline-ansible-roles"
name = "image-pipeline-ansible-playbooks"
github_repo_topics = [
"terraform"
]
force_name = true
create_codeowners = false
enforce_prs = false
is_template = true
collaborators = local.collaborators
admin_teams = [github_team.team.name]
}

resource "aws_codecommit_repository" "image-pipeline-ansible-playbooks" {
repository_name = module.image_pipeline_ansible_playbooks.github_repo.name
description = module.image_pipeline_ansible_playbooks.github_repo.description
}


resource "aws_codecommit_repository" "windows-image-pipeline" {
repository_name = "windows-image-pipeline"
description = "Windows Packer config for Image Pipeline"
}

resource "aws_codecommit_repository" "linux-image-pipeline" {
repository_name = "linux-image-pipeline"
description = "Linux Packer config for Image Pipeline"
}


module "image-pipeline-playbook" {
source = "git@github.e.it.census.gov:CSVD/terraform-github-repo"
#github_codeowners_team = "CSVD"
github_repo_description = "Terraform Workspace for creating and managing AWS Dev Network"
github_repo_description = "Terraform Workspace for creating and managing Ansible Playbook"
repo_org = "arnol377"
name = "image-pipeline-playbook"
github_repo_topics = [
Expand Down Expand Up @@ -276,10 +292,6 @@ module "windows-ami-build" {
admin_teams = [github_team.team.name]
}

resource "aws_codecommit_repository" "ansible" {
repository_name = "image-pipeline-ansible-roles"
description = "This is the Sample App Repository"
}

# image-pipeline-goss-testing
resource "aws_codecommit_repository" "goss-testing" {
Expand Down

0 comments on commit 38f3610

Please sign in to comment.