-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refa: removed exported SecretsManager policy
- Loading branch information
1 parent
48ea7a9
commit d34d815
Showing
5 changed files
with
28 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
output "security_group" { | ||
description = "The ID of the security group to allow services access to the RDS instance" | ||
description = "The ID of the security group to allow services access to the RDS instance." | ||
value = try(aws_security_group.external.id, null) | ||
} | ||
|
||
output "secrets_arn" { | ||
description = "The ARN of the SecretsManager which holds secrets for the connection to the RDS instance" | ||
description = "The ARN of the SecretsManager which holds secrets for the connection to the RDS instance." | ||
value = try(aws_secretsmanager_secret.rds.arn, null) | ||
} | ||
|
||
output "get_secrets_policy" { | ||
description = "An object of IAM policy to allow read access of the SecretsManager" | ||
value = { | ||
name = local.policy_name | ||
policy = data.aws_iam_policy_document.secrets.json | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters