terraform.aws-baseline-infra/modules/security_identity_compliance/secretsmanager-secret/README.md

16 lines
564 B
Markdown
Raw Normal View History

# 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
```hcl
module secret_item {
source = "../../modules/security_identity_compliance/secretsmanager-secret"
secret_description = "test-secret-desc"
secret_value = "test-secret-value"
}
```