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
| project | Name of the project. |`string`| n/a | yes |
66
-
| add_suffix | Apply a random suffix to the secret name. Useful when secrets may need to be replaced, but makes identify secrets by name alone more difficult. |`bool`|`true`| no |
67
-
| environment | Environment for the project. |`string`|`"dev"`| no |
68
-
| key_recovery_period | Number of days to recover the KMS key after deletion. |`number`|`30`| no |
69
-
| kms_key_arn | Optional KMS key ARN to use for encryption. If not provided, a new KMS key will be created. |`string`|`null`| no |
70
-
|[secrets]| Secrets to be created. |`map(object)`|`{}`| no |
71
-
| service | Optional service that these resources are supporting. Example: `"api"`, `"web"`, `"worker"`|`string`| n/a | no |
72
-
| tags | Optional tags to be applied to all resources. |`list`|`[]`| no |
63
+
| Name | Description | Type | Default | Required |
| project | Name of the project. |`string`| n/a | yes |
66
+
| kms_key_arn | ARN for an existing KMS key to use for encryption. Required if `create_kms_key` is set to `false`; ignored otherwise. |`string`|`null`| conditional |
67
+
| add_suffix | Apply a random suffix to the secret name. Useful when secrets may need to be replaced, but makes identify secrets by name alone more difficult. |`bool`|`true`| no |
68
+
| create_kms_key | Whether to create a new KMS key for encrypting secrets. If set to `false`, `kms_key_arn` must be provided. |`bool`|`true`| no |
69
+
| environment | Environment for the project. |`string`|`"dev"`| no |
70
+
| key_recovery_period | Recovery period for deleted KMS keys in days. Must be between 7 and 30. Only used if `create_kms_key` is set to `true`. |`number`|`30`| no |
71
+
|[secrets]| Secrets to be created. |`map(object)`|`{}`| no |
72
+
| service | Optional service that these resources are supporting. Example: `"api"`, `"web"`, `"worker"`|`string`| n/a | no |
73
+
| tags | Optional tags to be applied to all resources. |`list`|`[]`| no |
0 commit comments