terraform.aws-baseline-infra/modules/security_identity_compliance/secretsmanager-secret
2023-12-20 08:13:35 +08:00
..
main.tf DEL: Removing .terraform* 2023-12-20 08:13:35 +08:00
outputs.tf FIX: correcting hard-coded test secret name 2023-06-13 15:47:05 +08:00
provider.tf UPD: added README and removed unnecessary config in provider.tf 2023-06-13 15:37:53 +08:00
README.md UPD: added README and removed unnecessary config in provider.tf 2023-06-13 15:37:53 +08:00
variables.tf FIX: correcting hard-coded test secret name 2023-06-13 15:47:05 +08:00

secretsmanager-secret module

This module creates an entry in secretsmanager, attaching a default access policy if one is not provided from root module. A random suffix is assigned to every secret, as AWS may delay creation of secrets with the same name, after the old one has been destroyed that is.

To tag resources, please use provider default_tags.

Example

module secret_item {
  source = "../../modules/security_identity_compliance/secretsmanager-secret"

  secret_description = "test-secret-desc"
  secret_value       = "test-secret-value"
}