secretsmanager-secret
Create secretsmanager secret. Specify secret_version if you do not want
terraform to recreate the secret everytime terraform applies. Otherwise,
becuase this module uses emphemeral resource, the secret will be regenerated
and replaced every time.
Requirements
| Name |
Version |
| terraform |
>= 1.3.0 |
| aws |
>= 5.0 |
Providers
| Name |
Version |
| aws |
>= 5.0 |
| random |
n/a |
Modules
No modules.
Resources
Inputs
| Name |
Description |
Type |
Default |
Required |
| generate_secret |
If set to true, a secure password will be generated and saved. |
bool |
false |
no |
| kms_key_id |
Custom kms key id. If not specified, the default key aws/secretmanager key will be used. |
string |
null |
no |
| secret_description |
n/a |
any |
n/a |
yes |
| secret_name |
n/a |
any |
n/a |
yes |
| secret_policy |
By default, cross-account access is denied |
string |
null |
no |
| secret_value |
n/a |
string |
null |
no |
| secret_version |
Secret version number. Increment to modify secret, or leave this unset to have your secret updated everytime terraform applies |
number |
null |
no |
Outputs
| Name |
Description |
| secret_arn |
n/a |
| secret_id |
n/a |
Authorship
This module was developed by UPDATE_THIS.