-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
252 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,176 @@ | ||
| locals { | ||
| collaborators = { | ||
| naray007 = "write", | ||
| morga471 = "write", | ||
| lolli001 = "write", | ||
| gomez385 = "write" | ||
| } | ||
| } | ||
|
|
||
| module "elastic_beanstalk" { | ||
| source = "HappyPathway/repo/github" | ||
| github_codeowners_team = "CSVD" | ||
| github_repo_description = "Terraform Module for creating Elastic Beanstalk Apps and Environments" | ||
| #github_codeowners_team = "CSVD" | ||
| github_repo_description = "Terraform Workspace for creating Elastic Beanstalk Apps and Environments" | ||
| repo_org = "arnol377" | ||
| name = "terraform-aws-beanstalk" | ||
| name = "aws-beanstalk" | ||
| github_repo_topics = [ | ||
| "terraform" | ||
| ] | ||
| is_template = true | ||
| force_name = true | ||
| create_codeowners = false | ||
| enforce_prs = false | ||
| collaborators = local.collaborators | ||
| } | ||
|
|
||
| #module "goss-testing" { | ||
| # source = "HappyPathway/repo/github" | ||
| # #github_codeowners_team = "CSVD" | ||
| # github_repo_description = "Goss testing suite for ec2 instances" | ||
| # repo_org = "CSVD" | ||
| # name = "image-pipeline-goss-testing" | ||
| # github_repo_topics = [ | ||
| # "terraform" | ||
| # ] | ||
| # is_template = true | ||
| # force_name = true | ||
| # create_codeowners = false | ||
| # enforce_prs = false | ||
| # collaborators = { | ||
| # naray007 = "write", | ||
| # morga471 = "write", | ||
| # # gomez385 = "write" | ||
| # } | ||
| #} | ||
|
|
||
|
|
||
|
|
||
| module "elastic_beanstalk_java" { | ||
| source = "HappyPathway/repo/github" | ||
| #github_codeowners_team = "CSVD" | ||
| github_repo_description = "Terraform Workspace for creating Elastic Beanstalk Apps and Environments" | ||
| repo_org = "arnol377" | ||
| name = "aws-beanstalk-java" | ||
| github_repo_topics = [ | ||
| "terraform" | ||
| ] | ||
| is_template = true | ||
| force_name = true | ||
| create_codeowners = false | ||
| enforce_prs = false | ||
| collaborators = local.collaborators | ||
| template_repo = "aws-beanstalk" | ||
| template_repo_org = "CSVD" | ||
| } | ||
|
|
||
| module "elastic_beanstalk_nodejs" { | ||
| source = "HappyPathway/repo/github" | ||
| #github_codeowners_team = "CSVD" | ||
| github_repo_description = "Terraform Workspace for creating Elastic Beanstalk Apps and Environments" | ||
| repo_org = "arnol377" | ||
| name = "aws-beanstalk-nodejs" | ||
| github_repo_topics = [ | ||
| "terraform" | ||
| ] | ||
| is_template = true | ||
| force_name = true | ||
| create_codeowners = false | ||
| enforce_prs = false | ||
| collaborators = local.collaborators | ||
| template_repo = "aws-beanstalk" | ||
| template_repo_org = "CSVD" | ||
| } | ||
|
|
||
|
|
||
|
|
||
| module "elastic_beanstalk_docker" { | ||
| source = "HappyPathway/repo/github" | ||
| #github_codeowners_team = "CSVD" | ||
| github_repo_description = "Terraform Workspace for creating Elastic Beanstalk Apps and Environments" | ||
| repo_org = "arnol377" | ||
| name = "aws-beanstalk-docker" | ||
| github_repo_topics = [ | ||
| "terraform" | ||
| ] | ||
| is_template = true | ||
| force_name = true | ||
| create_codeowners = false | ||
| enforce_prs = false | ||
| collaborators = local.collaborators | ||
| template_repo = "aws-beanstalk" | ||
| template_repo_org = "CSVD" | ||
| } | ||
|
|
||
|
|
||
| # image-pipeline | ||
| module "image_pipeline" { | ||
| source = "HappyPathway/repo/github" | ||
| #github_codeowners_team = "CSVD" | ||
| github_repo_description = "Terraform Workspace for creating and managing AWS Image Pipelines" | ||
| repo_org = "arnol377" | ||
| name = "aws-image-pipeline" | ||
| github_repo_topics = [ | ||
| "terraform" | ||
| ] | ||
| force_name = true | ||
| create_codeowners = false | ||
| enforce_prs = false | ||
| collaborators = local.collaborators | ||
| } | ||
|
|
||
|
|
||
| module "dev_network" { | ||
| source = "HappyPathway/repo/github" | ||
| #github_codeowners_team = "CSVD" | ||
| github_repo_description = "Terraform Workspace for creating and managing AWS Dev Network" | ||
| repo_org = "arnol377" | ||
| name = "aws-dev-network" | ||
| github_repo_topics = [ | ||
| "terraform" | ||
| ] | ||
| force_name = true | ||
| create_codeowners = false | ||
| enforce_prs = false | ||
| admin_teams = [ | ||
| "CSVD" | ||
| "csvd_users" | ||
| ] | ||
| } | ||
|
|
||
| module "beanstalk-demo" { | ||
| source = "HappyPathway/repo/github" | ||
| #github_codeowners_team = "CSVD" | ||
| github_repo_description = "Terraform Workspace for creating and managing AWS Dev Network" | ||
| repo_org = "arnol377" | ||
| name = "beanstalk-flask-demo" | ||
| github_repo_topics = [ | ||
| "terraform" | ||
| ] | ||
| force_name = true | ||
| } | ||
| create_codeowners = false | ||
| enforce_prs = false | ||
| admin_teams = [ | ||
| "csvd_users" | ||
| ] | ||
| is_template = true | ||
| collaborators = { | ||
| naray007 = "write", | ||
| morga471 = "write", | ||
| lolli001 = "write" | ||
| } | ||
|
|
||
| } | ||
|
|
||
|
|
||
|
|
||
|
|
||
| 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" { | ||
| repository_name = "image-pipeline-goss-testing" | ||
| description = "Goss testing suite for ec2 images" | ||
| } | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| provider "github" { | ||
| owner = "CSVD" | ||
| base_url = "https://github.e.it.census.gov" | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| terraform { | ||
| required_providers { | ||
| random = { | ||
| source = "integrations/github" | ||
| version = "6.2.0" | ||
| } | ||
| aws = { | ||
| source = "hashicorp/aws" | ||
| version = ">= 2.0.0" | ||
| } | ||
| } | ||
| required_version = ">= 1.1" | ||
| } |