From 19f05aa430cb419f892d8485c9755b9b5531ee4b Mon Sep 17 00:00:00 2001 From: arnol377 Date: Mon, 24 Feb 2025 13:17:50 -0500 Subject: [PATCH] working on adding template repo for aws-image-pipeline --- automation-repos.code-workspace | 22 ++++++++++++++++++ image-pipeline.tf | 3 +++ varfiles/default.tfvars | 41 +++++++++++++++++++++++++++++++++ versions.tf | 14 ++++++++++- 4 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 automation-repos.code-workspace diff --git a/automation-repos.code-workspace b/automation-repos.code-workspace new file mode 100644 index 0000000..05027c5 --- /dev/null +++ b/automation-repos.code-workspace @@ -0,0 +1,22 @@ +{ + "folders": [ + { + "path": "." + }, + { + "path": "../terraform-provider-github/website/docs/d", + "name": "data-sources" + }, + { + "path": "../terraform-provider-github/website/docs/r", + "name": "resources" + }, + { + "path": "../terraform-github-repo", + "name": "github-repo" + } + ], + "settings": { + + } +} \ No newline at end of file diff --git a/image-pipeline.tf b/image-pipeline.tf index 1d286a5..8d60fa9 100644 --- a/image-pipeline.tf +++ b/image-pipeline.tf @@ -78,6 +78,8 @@ module "aws_image_pipeline" { enforce_prs = true collaborators = local.collaborators pull_request_bypassers = local.pull_request_bypassers + github_has_issues = true + is_template = true managed_extra_files = [ { path = ".github/workflows/terraform-plan.yaml" @@ -122,6 +124,7 @@ module "terraform_aws_image_pipeline" { enforce_prs = true collaborators = local.collaborators pull_request_bypassers = local.pull_request_bypassers + github_has_issues = true vars = [ { name = "terraform_version" diff --git a/varfiles/default.tfvars b/varfiles/default.tfvars index 563a447..e549836 100644 --- a/varfiles/default.tfvars +++ b/varfiles/default.tfvars @@ -213,5 +213,46 @@ repolist = [ "terraform" ] }, + { + description = "Module for AWS RDS" + repo_org = "CSVD" + name = "terraform-aws-rds" + is_private = false + repo_topics = [ + "ai-demo", + "terraform" + ] + }, + { + description = "Module for AWS EFS" + repo_org = "CSVD" + name = "terraform-aws-efs" + is_private = false + repo_topics = [ + "ai-demo", + "terraform" + ] + }, + { + description = "Module for AWS S3" + repo_org = "CSVD" + name = "terraform-aws-ses" + is_private = false + repo_topics = [ + "ai-demo", + "terraform" + ] + }, + { + description = "Template Repo for Image Pipeline" + repo_org = "CSVD" + name = "template-aws-image-pipeline" + is_private = false + is_template = true + repo_topics = [ + "aws-image-pipeline", + "terraform" + ] + } ] diff --git a/versions.tf b/versions.tf index 32b8f4a..abcc7b9 100644 --- a/versions.tf +++ b/versions.tf @@ -2,7 +2,19 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 2.0.0" + version = "5.84.0" + } + github = { + source = "integrations/github" + version = ">= 6.5.0" + } + null = { + source = "hashicorp/null" + version = ">= 3.0.0" + } + local = { + source = "hashicorp/local" + version = ">= 2.1.0" } } required_version = ">= 1.1"