You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[aws_iam_policy_document.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
152
150
153
151
## Inputs
@@ -157,7 +155,7 @@ No modules.
157
155
| <aname="input_block_public_policy"></a> [block\_public\_policy](#input\_block\_public\_policy)| Makes an optional API call to Zelkova to validate the Resource Policy to prevent broad access to your secret |`bool`|`null`| no |
158
156
| <aname="input_create"></a> [create](#input\_create)| Determines whether resources will be created (affects all resources) |`bool`|`true`| no |
159
157
| <aname="input_create_policy"></a> [create\_policy](#input\_create\_policy)| Determines whether a policy will be created |`bool`|`false`| no |
160
-
| <aname="input_create_random_password"></a> [create\_random\_password](#input\_create\_random\_password)| Determines whether a random password will be generated |`bool`|`false`| no |
158
+
| <aname="input_create_random_password"></a> [create\_random\_password](#input\_create\_random\_password)| Determines whether an ephemeral random password will be generated for `secret_string_wo`|`bool`|`false`| no |
161
159
| <aname="input_description"></a> [description](#input\_description)| A description of the secret |`string`|`null`| no |
162
160
| <aname="input_enable_rotation"></a> [enable\_rotation](#input\_enable\_rotation)| Determines whether secret rotation is enabled |`bool`|`false`| no |
163
161
| <aname="input_force_overwrite_replica_secret"></a> [force\_overwrite\_replica\_secret](#input\_force\_overwrite\_replica\_secret)| Accepts boolean value to specify whether to overwrite a secret with the same name in the destination Region |`bool`|`null`| no |
@@ -166,15 +164,19 @@ No modules.
166
164
| <aname="input_name"></a> [name](#input\_name)| Friendly name of the new secret. The secret name can consist of uppercase letters, lowercase letters, digits, and any of the following characters: `/_+=.@-`|`string`|`null`| no |
167
165
| <aname="input_name_prefix"></a> [name\_prefix](#input\_name\_prefix)| Creates a unique name beginning with the specified prefix |`string`|`null`| no |
168
166
| <aname="input_override_policy_documents"></a> [override\_policy\_documents](#input\_override\_policy\_documents)| List of IAM policy documents that are merged together into the exported document. In merging, statements with non-blank `sid`s will override statements with the same `sid`|`list(string)`|`[]`| no |
169
-
| <aname="input_policy_statements"></a> [policy\_statements](#input\_policy\_statements)| A map of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for custom permission usage |`map(any)`|`{}`| no |
167
+
| <aname="input_policy_statements"></a> [policy\_statements](#input\_policy\_statements)| A map of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for custom permission usage |<pre>map(object({<br/> sid = optional(string)<br/> actions = optional(list(string))<br/> not_actions = optional(list(string))<br/> effect = optional(string)<br/> resources = optional(list(string))<br/> not_resources = optional(list(string))<br/> principals = optional(list(object({<br/> type = string<br/> identifiers = list(string)<br/> })))<br/> not_principals = optional(list(object({<br/> type = string<br/> identifiers = list(string)<br/> })))<br/> condition = optional(list(object({<br/> test = string<br/> values = list(string)<br/> variable = string<br/> })))<br/> }))</pre> |`null`| no |
170
168
| <aname="input_random_password_length"></a> [random\_password\_length](#input\_random\_password\_length)| The length of the generated random password |`number`|`32`| no |
171
169
| <aname="input_random_password_override_special"></a> [random\_password\_override\_special](#input\_random\_password\_override\_special)| Supply your own list of special characters to use for string generation. This overrides the default character list in the special argument |`string`|`"!@#$%&*()-_=+[]{}<>:?"`| no |
172
170
| <aname="input_recovery_window_in_days"></a> [recovery\_window\_in\_days](#input\_recovery\_window\_in\_days)| Number of days that AWS Secrets Manager waits before it can delete the secret. This value can be `0` to force deletion without recovery or range from `7` to `30` days. The default value is `30`|`number`|`null`| no |
173
-
| <aname="input_replica"></a> [replica](#input\_replica)| Configuration block to support secret replication |`map(any)`|`{}`| no |
171
+
| <aname="input_region"></a> [region](#input\_region)| Region where the resource(s) will be managed. Defaults to the Region set in the provider configuration |`string`|`null`| no |
172
+
| <aname="input_replica"></a> [replica](#input\_replica)| Configuration block to support secret replication | <pre>map(object({<br/> kms_key_id = optional(string)<br/> region = optional(string) # will default to the key name<br/> }))</pre> |`null`| no |
173
+
| <aname="input_rotate_immediately"></a> [rotate\_immediately](#input\_rotate\_immediately)| Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. The rotation schedule is defined in `rotation_rules`|`bool`|`null`| no |
174
174
| <aname="input_rotation_lambda_arn"></a> [rotation\_lambda\_arn](#input\_rotation\_lambda\_arn)| Specifies the ARN of the Lambda function that can rotate the secret |`string`|`""`| no |
175
-
| <aname="input_rotation_rules"></a> [rotation\_rules](#input\_rotation\_rules)| A structure that defines the rotation configuration for this secret |`map(any)`|`{}`| no |
176
-
| <aname="input_secret_binary"></a> [secret\_binary](#input\_secret\_binary)| Specifies binary data that you want to encrypt and store in this version of the secret. This is required if `secret_string` is not set. Needs to be encoded to base64 |`string`|`null`| no |
177
-
| <aname="input_secret_string"></a> [secret\_string](#input\_secret\_string)| Specifies text data that you want to encrypt and store in this version of the secret. This is required if `secret_binary` is not set |`string`|`null`| no |
175
+
| <aname="input_rotation_rules"></a> [rotation\_rules](#input\_rotation\_rules)| A structure that defines the rotation configuration for this secret | <pre>object({<br/> automatically_after_days = optional(number)<br/> duration = optional(string)<br/> schedule_expression = optional(string)<br/> })</pre> |`null`| no |
176
+
| <aname="input_secret_binary"></a> [secret\_binary](#input\_secret\_binary)| Specifies binary data that you want to encrypt and store in this version of the secret. This is required if `secret_string` or `secret_string_wo` is not set. Needs to be encoded to base64 |`string`|`null`| no |
177
+
| <aname="input_secret_string"></a> [secret\_string](#input\_secret\_string)| Specifies text data that you want to encrypt and store in this version of the secret. This is required if `secret_binary` or `secret_string_wo` is not set |`string`|`null`| no |
178
+
| <aname="input_secret_string_wo"></a> [secret\_string\_wo](#input\_secret\_string\_wo)| Specifies text data that you want to encrypt and store in this version of the secret. This is required if `secret_binary` or `secret_string` is not set |`string`|`null`| no |
179
+
| <aname="input_secret_string_wo_version"></a> [secret\_string\_wo\_version](#input\_secret\_string\_wo\_version)| Used together with `secret_string_wo` to trigger an update. Increment this value when an update to `secret_string_wo` is required |`string`|`null`| no |
178
180
| <aname="input_source_policy_documents"></a> [source\_policy\_documents](#input\_source\_policy\_documents)| List of IAM policy documents that are merged together into the exported document. Statements must have unique `sid`s |`list(string)`|`[]`| no |
179
181
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
180
182
| <aname="input_version_stages"></a> [version\_stages](#input\_version\_stages)| Specifies a list of staging labels that are attached to this version of the secret. A staging label must be unique to a single version of the secret |`list(string)`|`null`| no |
0 commit comments