Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Secrets Manager - descriptions #314

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions secrets_manager.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ locals {
}

resource "aws_secretsmanager_secret" "moj_network_access_control_env_admin_db" {
name = "/moj-network-access-control/${terraform.workspace}/admin/db"
provider = aws.env
name = "/moj-network-access-control/${terraform.workspace}/admin/db"
description = "Admin RDS Database password."
provider = aws.env
tags = merge(local.tags_minus_name,
{ "Name" : "/moj-network-access-control/${terraform.workspace}/admin/db" }
)
Expand Down Expand Up @@ -47,8 +48,9 @@ resource "random_password" "moj_network_access_control_env_admin_db" {
}

resource "aws_secretsmanager_secret" "moj_network_access_control_env_admin_sentry_dsn" {
name = "/moj-network-access-control/${terraform.workspace}/admin/sentry_dsn"
provider = aws.env
name = "/moj-network-access-control/${terraform.workspace}/admin/sentry_dsn"
description = "Sentry - Application monitoring and debugging software - Data Source Name (DSN)."
provider = aws.env
tags = merge(local.tags_minus_name,
{ "Name" : "/moj-network-access-control/${terraform.workspace}/admin/sentry_dsn" }
)
Expand All @@ -66,8 +68,9 @@ resource "aws_secretsmanager_secret_version" "moj_network_access_control_env_adm
}

resource "aws_secretsmanager_secret" "moj_network_access_control_env_eap_private_key_password" {
name = "/moj-network-access-control/${terraform.workspace}/eap/private_key_password"
provider = aws.env
name = "/moj-network-access-control/${terraform.workspace}/eap/private_key_password"
description = "Radius Extended Access Protocol (EAP) - private key password"
provider = aws.env
tags = merge(local.tags_minus_name,
{ "Name" : "/moj-network-access-control/${terraform.workspace}/eap/private_key_password" }
)
Expand All @@ -85,8 +88,9 @@ resource "aws_secretsmanager_secret_version" "moj_network_access_control_env_eap
}

resource "aws_secretsmanager_secret" "moj_network_access_control_env_radsec_private_key_password" {
name = "/moj-network-access-control/${terraform.workspace}/radsec/private_key_password"
provider = aws.env
name = "/moj-network-access-control/${terraform.workspace}/radsec/private_key_password"
description = "Radius RadSec TLS - private key password."
provider = aws.env
tags = merge(local.tags_minus_name,
{ "Name" : "/moj-network-access-control/${terraform.workspace}/radsec/private_key_password" }
)
Expand Down