Skip to content

Commit

Permalink
Merge pull request #4025 from ministryofjustice/multiple-repos-and-st…
Browse files Browse the repository at this point in the history
…andards-dev

Create multiple repositories in test org using Terraform, which conform to moj standards
  • Loading branch information
levgorbunov1 authored Jan 16, 2024
2 parents 197c89c + 57077f4 commit c0b9354
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cicd-terraform-github-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@ jobs:
if: github.ref == 'refs/heads/main'
id: apply
run: terraform apply -input=false -no-color -auto-approve
continue-on-error: true
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
module "repository" {

module "test-repository-levg" {
source = "github.com/ministryofjustice/operations-engineering-terraform-github-repositories"

application_name = "test-app-levg"
description = "this repository was create by terraform managed by operations-engineering team"
name = "test-repository-levg"
application_name = "test-repository-levg"
description = "this repository was create by terraform managed by operations-engineering team"
topics = ["github", "terraform", "operations-engineering"]
tags = {
Team = "operations-engineering"
Phase = "POC"
}
topics = ["github", "terraform", "operations-engineering"]
}
12 changes: 12 additions & 0 deletions terraform/github/repositories/test-repository-levg2.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module "test-repository-levg2" {
source = "github.com/ministryofjustice/operations-engineering-terraform-github-repositories"

name = "test-repository-levg2"
application_name = "test-repository-levg2"
description = "this repository was create by terraform managed by operations-engineering team"
topics = ["github", "terraform", "operations-engineering"]
tags = {
Team = "operations-engineering"
Phase = "POC"
}
}
12 changes: 12 additions & 0 deletions terraform/github/repositories/test-repository-levg3.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module "test-repository-levg3" {
source = "github.com/ministryofjustice/operations-engineering-terraform-github-repositories"

name = "test-repository-levg3"
application_name = "test-repository-levg3"
description = "this repository was create by terraform managed by operations-engineering team"
topics = ["github", "terraform", "operations-engineering"]
tags = {
Team = "operations-engineering"
Phase = "POC"
}
}

0 comments on commit c0b9354

Please sign in to comment.