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_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
172
174
|[aws_iam_policy_document.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
173
175
|[aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition)| data source |
@@ -182,6 +184,8 @@ No modules.
182
184
| <aname="input_computed_aliases"></a> [computed\_aliases](#input\_computed\_aliases)| A map of aliases to create. Values provided via the `name` key of the map can be computed from upstream resources |`any`|`{}`| no |
183
185
| <aname="input_create"></a> [create](#input\_create)| Determines whether resources will be created (affects all resources) |`bool`|`true`| no |
184
186
| <aname="input_create_external"></a> [create\_external](#input\_create\_external)| Determines whether an external CMK (externally provided material) will be created or a standard CMK (AWS provided material) |`bool`|`false`| no |
187
+
| <aname="input_create_replica"></a> [create\_replica](#input\_create\_replica)| Determines whether a replica standard CMK will be created (AWS provided material) |`bool`|`false`| no |
188
+
| <aname="input_create_replica_external"></a> [create\_replica\_external](#input\_create\_replica\_external)| Determines whether a replica external CMK will be created (externally provided material) |`bool`|`false`| no |
185
189
| <aname="input_customer_master_key_spec"></a> [customer\_master\_key\_spec](#input\_customer\_master\_key\_spec)| Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports. Valid values: `SYMMETRIC_DEFAULT`, `RSA_2048`, `RSA_3072`, `RSA_4096`, `HMAC_256`, `ECC_NIST_P256`, `ECC_NIST_P384`, `ECC_NIST_P521`, or `ECC_SECG_P256K1`. Defaults to `SYMMETRIC_DEFAULT`|`string`|`null`| no |
186
190
| <aname="input_deletion_window_in_days"></a> [deletion\_window\_in\_days](#input\_deletion\_window\_in\_days)| The waiting period, specified in number of days. After the waiting period ends, AWS KMS deletes the KMS key. If you specify a value, it must be between `7` and `30`, inclusive. If you do not specify a value, it defaults to `30`|`number`|`null`| no |
187
191
| <aname="input_description"></a> [description](#input\_description)| The description of the key as viewed in AWS console |`string`|`null`| no |
@@ -204,6 +208,8 @@ No modules.
204
208
| <aname="input_multi_region"></a> [multi\_region](#input\_multi\_region)| Indicates whether the KMS key is a multi-Region (`true`) or regional (`false`) key. Defaults to `false`|`bool`|`false`| no |
205
209
| <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 |
206
210
| <aname="input_policy"></a> [policy](#input\_policy)| A valid policy JSON document. Although this is a key policy, not an IAM policy, an `aws_iam_policy_document`, in the form that designates a principal, can be used |`string`|`null`| no |
211
+
| <aname="input_primary_external_key_arn"></a> [primary\_external\_key\_arn](#input\_primary\_external\_key\_arn)| The primary external key arn of a multi-region replica external key |`string`|`null`| no |
212
+
| <aname="input_primary_key_arn"></a> [primary\_key\_arn](#input\_primary\_key\_arn)| The primary key arn of a multi-region replica key |`string`|`null`| no |
207
213
| <aname="input_route53_dnssec_sources"></a> [route53\_dnssec\_sources](#input\_route53\_dnssec\_sources)| A list of maps containing `account_ids` and Route53 `hosted_zone_arn` that will be allowed to sign DNSSEC records |`list(any)`|`[]`| no |
208
214
| <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 |
209
215
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
| <aname="output_external_key_arn"></a> [external\_key\_arn](#output\_external\_key\_arn)| The Amazon Resource Name (ARN) of the key |
84
88
| <aname="output_external_key_id"></a> [external\_key\_id](#output\_external\_key\_id)| The globally unique identifier for the key |
85
89
| <aname="output_external_key_policy"></a> [external\_key\_policy](#output\_external\_key\_policy)| The IAM resource policy set on the key |
90
+
| <aname="output_replica_aliases"></a> [replica\_aliases](#output\_replica\_aliases)| A map of aliases created and their attributes |
91
+
| <aname="output_replica_external_aliases"></a> [replica\_external\_aliases](#output\_replica\_external\_aliases)| A map of aliases created and their attributes |
92
+
| <aname="output_replica_external_arn"></a> [replica\_external\_arn](#output\_replica\_external\_arn)| The Amazon Resource Name (ARN) of the key |
93
+
| <aname="output_replica_external_grants"></a> [replica\_external\_grants](#output\_replica\_external\_grants)| A map of grants created and their attributes |
94
+
| <aname="output_replica_external_key_expiration_model"></a> [replica\_external\_key\_expiration\_model](#output\_replica\_external\_key\_expiration\_model)| Whether the key material expires. Empty when pending key material import, otherwise `KEY_MATERIAL_EXPIRES` or `KEY_MATERIAL_DOES_NOT_EXPIRE`|
95
+
| <aname="output_replica_external_key_id"></a> [replica\_external\_key\_id](#output\_replica\_external\_key\_id)| The globally unique identifier for the key |
96
+
| <aname="output_replica_external_key_policy"></a> [replica\_external\_key\_policy](#output\_replica\_external\_key\_policy)| The IAM resource policy set on the key |
97
+
| <aname="output_replica_external_key_state"></a> [replica\_external\_key\_state](#output\_replica\_external\_key\_state)| The state of the CMK |
98
+
| <aname="output_replica_external_key_usage"></a> [replica\_external\_key\_usage](#output\_replica\_external\_key\_usage)| The cryptographic operations for which you can use the CMK |
99
+
| <aname="output_replica_grants"></a> [replica\_grants](#output\_replica\_grants)| A map of grants created and their attributes |
100
+
| <aname="output_replica_key_arn"></a> [replica\_key\_arn](#output\_replica\_key\_arn)| The Amazon Resource Name (ARN) of the key |
101
+
| <aname="output_replica_key_expiration_model"></a> [replica\_key\_expiration\_model](#output\_replica\_key\_expiration\_model)| Whether the key material expires. Empty when pending key material import, otherwise `KEY_MATERIAL_EXPIRES` or `KEY_MATERIAL_DOES_NOT_EXPIRE`|
102
+
| <aname="output_replica_key_id"></a> [replica\_key\_id](#output\_replica\_key\_id)| The globally unique identifier for the key |
103
+
| <aname="output_replica_key_policy"></a> [replica\_key\_policy](#output\_replica\_key\_policy)| The IAM resource policy set on the key |
104
+
| <aname="output_replica_key_state"></a> [replica\_key\_state](#output\_replica\_key\_state)| The state of the CMK |
105
+
| <aname="output_replica_key_usage"></a> [replica\_key\_usage](#output\_replica\_key\_usage)| The cryptographic operations for which you can use the CMK |
86
106
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
87
107
88
108
Apache-2.0 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-kms/blob/master/LICENSE).
description="The Amazon Resource Name (ARN) of the key"
140
+
value=module.kms_replica.key_arn
141
+
}
142
+
143
+
output"replica_key_id" {
144
+
description="The globally unique identifier for the key"
145
+
value=module.kms_replica.key_id
146
+
}
147
+
148
+
output"replica_key_policy" {
149
+
description="The IAM resource policy set on the key"
150
+
value=module.kms_replica.key_policy
151
+
}
152
+
153
+
output"replica_key_expiration_model" {
154
+
description="Whether the key material expires. Empty when pending key material import, otherwise `KEY_MATERIAL_EXPIRES` or `KEY_MATERIAL_DOES_NOT_EXPIRE`"
description="The Amazon Resource Name (ARN) of the key"
185
+
value=module.kms_replica_external.key_arn
186
+
}
187
+
188
+
output"replica_external_key_id" {
189
+
description="The globally unique identifier for the key"
190
+
value=module.kms_replica_external.key_id
191
+
}
192
+
193
+
output"replica_external_key_policy" {
194
+
description="The IAM resource policy set on the key"
195
+
value=module.kms_replica_external.key_policy
196
+
}
197
+
198
+
output"replica_external_key_expiration_model" {
199
+
description="Whether the key material expires. Empty when pending key material import, otherwise `KEY_MATERIAL_EXPIRES` or `KEY_MATERIAL_DOES_NOT_EXPIRE`"
0 commit comments