Skip to content

Commit

Permalink
🔀 Merge pull request #3714 from ministryofjustice/feature/add-omd-ent…
Browse files Browse the repository at this point in the history
…ra-secrets

🔐 Add Open Metadata Entra ID secrets for Data Platform Apps and Tools Production

Signed-off-by: Jacob Woffenden <[email protected]>
  • Loading branch information
Jacob Woffenden authored Oct 18, 2023
2 parents 1351ceb + 6db9a8a commit e698be6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion terraform/environments/data-platform-apps-and-tools/secrets.tf
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
#### This file can be used to store secrets specific to the member account ####
/*
These have been created in code as we do not have permission to "secretsmanager:CreateSecret"
*/

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

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

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

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

0 comments on commit e698be6

Please sign in to comment.