Skip to content

Commit

Permalink
Add Open Metadata Entra ID secrets
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Woffenden <[email protected]>
  • Loading branch information
Jacob Woffenden committed Oct 18, 2023
1 parent c84b465 commit 6a78784
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 6a78784

Please sign in to comment.