Skip to content

Commit

Permalink
working on adding template repo for aws-image-pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Feb 24, 2025
1 parent eb4828e commit 19f05aa
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 1 deletion.
22 changes: 22 additions & 0 deletions automation-repos.code-workspace
Original file line number Diff line number Diff line change
@@ -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": {

}
}
3 changes: 3 additions & 0 deletions image-pipeline.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
41 changes: 41 additions & 0 deletions varfiles/default.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
]

14 changes: 13 additions & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 19f05aa

Please sign in to comment.