terraform.aws-baseline-infra/modules/security_identity_compliance/secretsmanager-secret
2023-06-13 15:37:53 +08:00
..
main.tf NEW: simple secretsmanager module 2023-06-13 15:32:02 +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 UPD: added README and removed unnecessary config in provider.tf 2023-06-13 15:37:53 +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"
}