Skip to content

Commit

Permalink
πŸ”€ Merge pull request #3763 from ministryofjustice/arc-secrets-creation
Browse files Browse the repository at this point in the history
Add three new secrets for ARC values
  • Loading branch information
Jacob Woffenden authored Oct 23, 2023
2 parents 8d2ecd8 + 2aa766f commit 6e1dab5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions terraform/environments/data-platform-apps-and-tools/secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,21 @@ resource "aws_secretsmanager_secret" "openmetadata_entra_id_tenant_id" {

name = "openmetadata/entra-id/tenant-id"
}

resource "aws_secretsmanager_secret" "github_app_arc_app_id" {
count = terraform.workspace == "data-platform-apps-and-tools-production" ? 1 : 0

name = "github/arc/app-id"
}

resource "aws_secretsmanager_secret" "github_app_arc_install_id" {
count = terraform.workspace == "data-platform-apps-and-tools-production" ? 1 : 0

name = "github/arc/install-id"
}

resource "aws_secretsmanager_secret" "github_app_arc_private_key" {
count = terraform.workspace == "data-platform-apps-and-tools-production" ? 1 : 0

name = "github/arc/private-key"
}

0 comments on commit 6e1dab5

Please sign in to comment.