Skip to content

Commit 2fbfb63

Browse files
committed
feat: addition of enhanced region support
1 parent bf753ca commit 2fbfb63

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

examples/complete/README.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,23 @@ Note that this example may create resources which will incur monetary charges on
3838
| Name | Source | Version |
3939
|------|--------|---------|
4040
| <a name="module_kms_complete"></a> [kms\_complete](#module\_kms\_complete) | ../.. | n/a |
41+
| <a name="module_kms_complete_other_region"></a> [kms\_complete\_other\_region](#module\_kms\_complete\_other\_region) | ../.. | n/a |
4142
| <a name="module_kms_default"></a> [kms\_default](#module\_kms\_default) | ../.. | n/a |
43+
| <a name="module_kms_default_other_region"></a> [kms\_default\_other\_region](#module\_kms\_default\_other\_region) | ../.. | n/a |
4244
| <a name="module_kms_disabled"></a> [kms\_disabled](#module\_kms\_disabled) | ../.. | n/a |
4345
| <a name="module_kms_dnssec_signing"></a> [kms\_dnssec\_signing](#module\_kms\_dnssec\_signing) | ../.. | n/a |
46+
| <a name="module_kms_dnssec_signing_other_region"></a> [kms\_dnssec\_signing\_other\_region](#module\_kms\_dnssec\_signing\_other\_region) | ../.. | n/a |
4447
| <a name="module_kms_external"></a> [kms\_external](#module\_kms\_external) | ../.. | n/a |
48+
| <a name="module_kms_external_other_region"></a> [kms\_external\_other\_region](#module\_kms\_external\_other\_region) | ../.. | n/a |
49+
| <a name="module_kms_other_region_disabled"></a> [kms\_other\_region\_disabled](#module\_kms\_other\_region\_disabled) | ../.. | n/a |
4550
| <a name="module_kms_primary"></a> [kms\_primary](#module\_kms\_primary) | ../.. | n/a |
4651
| <a name="module_kms_primary_external"></a> [kms\_primary\_external](#module\_kms\_primary\_external) | ../.. | n/a |
52+
| <a name="module_kms_primary_external_other_region"></a> [kms\_primary\_external\_other\_region](#module\_kms\_primary\_external\_other\_region) | ../.. | n/a |
53+
| <a name="module_kms_primary_other_region"></a> [kms\_primary\_other\_region](#module\_kms\_primary\_other\_region) | ../.. | n/a |
4754
| <a name="module_kms_replica"></a> [kms\_replica](#module\_kms\_replica) | ../.. | n/a |
4855
| <a name="module_kms_replica_external"></a> [kms\_replica\_external](#module\_kms\_replica\_external) | ../.. | n/a |
56+
| <a name="module_kms_replica_external_other_region"></a> [kms\_replica\_external\_other\_region](#module\_kms\_replica\_external\_other\_region) | ../.. | n/a |
57+
| <a name="module_kms_replica_other_region"></a> [kms\_replica\_other\_region](#module\_kms\_replica\_other\_region) | ../.. | n/a |
4958

5059
## Resources
5160

@@ -54,6 +63,7 @@ Note that this example may create resources which will incur monetary charges on
5463
| [aws_iam_role.lambda](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
5564
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
5665
| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |
66+
| [aws_region.replica](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |
5767

5868
## Inputs
5969

@@ -71,6 +81,16 @@ No inputs.
7181
| <a name="output_complete_key_arn"></a> [complete\_key\_arn](#output\_complete\_key\_arn) | The Amazon Resource Name (ARN) of the key |
7282
| <a name="output_complete_key_id"></a> [complete\_key\_id](#output\_complete\_key\_id) | The globally unique identifier for the key |
7383
| <a name="output_complete_key_policy"></a> [complete\_key\_policy](#output\_complete\_key\_policy) | The IAM resource policy set on the key |
84+
| <a name="output_complete_key_region"></a> [complete\_key\_region](#output\_complete\_key\_region) | The region for the key |
85+
| <a name="output_complete_other_region_aliases"></a> [complete\_other\_region\_aliases](#output\_complete\_other\_region\_aliases) | A map of aliases created and their attributes |
86+
| <a name="output_complete_other_region_external_key_expiration_model"></a> [complete\_other\_region\_external\_key\_expiration\_model](#output\_complete\_other\_region\_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` |
87+
| <a name="output_complete_other_region_external_key_state"></a> [complete\_other\_region\_external\_key\_state](#output\_complete\_other\_region\_external\_key\_state) | The state of the CMK |
88+
| <a name="output_complete_other_region_external_key_usage"></a> [complete\_other\_region\_external\_key\_usage](#output\_complete\_other\_region\_external\_key\_usage) | The cryptographic operations for which you can use the CMK |
89+
| <a name="output_complete_other_region_grants"></a> [complete\_other\_region\_grants](#output\_complete\_other\_region\_grants) | A map of grants created and their attributes |
90+
| <a name="output_complete_other_region_key_arn"></a> [complete\_other\_region\_key\_arn](#output\_complete\_other\_region\_key\_arn) | The Amazon Resource Name (ARN) of the key |
91+
| <a name="output_complete_other_region_key_id"></a> [complete\_other\_region\_key\_id](#output\_complete\_other\_region\_key\_id) | The globally unique identifier for the key |
92+
| <a name="output_complete_other_region_key_policy"></a> [complete\_other\_region\_key\_policy](#output\_complete\_other\_region\_key\_policy) | The IAM resource policy set on the key |
93+
| <a name="output_complete_other_region_key_region"></a> [complete\_other\_region\_key\_region](#output\_complete\_other\_region\_key\_region) | The region for the key |
7494
| <a name="output_default_aliases"></a> [default\_aliases](#output\_default\_aliases) | A map of aliases created and their attributes |
7595
| <a name="output_default_external_key_expiration_model"></a> [default\_external\_key\_expiration\_model](#output\_default\_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` |
7696
| <a name="output_default_external_key_state"></a> [default\_external\_key\_state](#output\_default\_external\_key\_state) | The state of the CMK |
@@ -79,6 +99,16 @@ No inputs.
7999
| <a name="output_default_key_arn"></a> [default\_key\_arn](#output\_default\_key\_arn) | The Amazon Resource Name (ARN) of the key |
80100
| <a name="output_default_key_id"></a> [default\_key\_id](#output\_default\_key\_id) | The globally unique identifier for the key |
81101
| <a name="output_default_key_policy"></a> [default\_key\_policy](#output\_default\_key\_policy) | The IAM resource policy set on the key |
102+
| <a name="output_default_key_region"></a> [default\_key\_region](#output\_default\_key\_region) | The region for the key |
103+
| <a name="output_default_other_region_aliases"></a> [default\_other\_region\_aliases](#output\_default\_other\_region\_aliases) | A map of aliases created and their attributes |
104+
| <a name="output_default_other_region_external_key_expiration_model"></a> [default\_other\_region\_external\_key\_expiration\_model](#output\_default\_other\_region\_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` |
105+
| <a name="output_default_other_region_external_key_state"></a> [default\_other\_region\_external\_key\_state](#output\_default\_other\_region\_external\_key\_state) | The state of the CMK |
106+
| <a name="output_default_other_region_external_key_usage"></a> [default\_other\_region\_external\_key\_usage](#output\_default\_other\_region\_external\_key\_usage) | The cryptographic operations for which you can use the CMK |
107+
| <a name="output_default_other_region_grants"></a> [default\_other\_region\_grants](#output\_default\_other\_region\_grants) | A map of grants created and their attributes |
108+
| <a name="output_default_other_region_key_arn"></a> [default\_other\_region\_key\_arn](#output\_default\_other\_region\_key\_arn) | The Amazon Resource Name (ARN) of the key |
109+
| <a name="output_default_other_region_key_id"></a> [default\_other\_region\_key\_id](#output\_default\_other\_region\_key\_id) | The globally unique identifier for the key |
110+
| <a name="output_default_other_region_key_policy"></a> [default\_other\_region\_key\_policy](#output\_default\_other\_region\_key\_policy) | The IAM resource policy set on the key |
111+
| <a name="output_default_other_region_key_region"></a> [default\_other\_region\_key\_region](#output\_default\_other\_region\_key\_region) | The region for the key |
82112
| <a name="output_external_aliases"></a> [external\_aliases](#output\_external\_aliases) | A map of aliases created and their attributes |
83113
| <a name="output_external_external_key_expiration_model"></a> [external\_external\_key\_expiration\_model](#output\_external\_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` |
84114
| <a name="output_external_external_key_state"></a> [external\_external\_key\_state](#output\_external\_external\_key\_state) | The state of the CMK |
@@ -87,22 +117,52 @@ No inputs.
87117
| <a name="output_external_key_arn"></a> [external\_key\_arn](#output\_external\_key\_arn) | The Amazon Resource Name (ARN) of the key |
88118
| <a name="output_external_key_id"></a> [external\_key\_id](#output\_external\_key\_id) | The globally unique identifier for the key |
89119
| <a name="output_external_key_policy"></a> [external\_key\_policy](#output\_external\_key\_policy) | The IAM resource policy set on the key |
120+
| <a name="output_external_key_region"></a> [external\_key\_region](#output\_external\_key\_region) | The region for the key |
121+
| <a name="output_external_other_region_aliases"></a> [external\_other\_region\_aliases](#output\_external\_other\_region\_aliases) | A map of aliases created and their attributes |
122+
| <a name="output_external_other_region_external_key_expiration_model"></a> [external\_other\_region\_external\_key\_expiration\_model](#output\_external\_other\_region\_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` |
123+
| <a name="output_external_other_region_external_key_state"></a> [external\_other\_region\_external\_key\_state](#output\_external\_other\_region\_external\_key\_state) | The state of the CMK |
124+
| <a name="output_external_other_region_external_key_usage"></a> [external\_other\_region\_external\_key\_usage](#output\_external\_other\_region\_external\_key\_usage) | The cryptographic operations for which you can use the CMK |
125+
| <a name="output_external_other_region_grants"></a> [external\_other\_region\_grants](#output\_external\_other\_region\_grants) | A map of grants created and their attributes |
126+
| <a name="output_external_other_region_key_arn"></a> [external\_other\_region\_key\_arn](#output\_external\_other\_region\_key\_arn) | The Amazon Resource Name (ARN) of the key |
127+
| <a name="output_external_other_region_key_id"></a> [external\_other\_region\_key\_id](#output\_external\_other\_region\_key\_id) | The globally unique identifier for the key |
128+
| <a name="output_external_other_region_key_policy"></a> [external\_other\_region\_key\_policy](#output\_external\_other\_region\_key\_policy) | The IAM resource policy set on the key |
129+
| <a name="output_external_other_region_key_region"></a> [external\_other\_region\_key\_region](#output\_external\_other\_region\_key\_region) | The region for the key |
90130
| <a name="output_replica_aliases"></a> [replica\_aliases](#output\_replica\_aliases) | A map of aliases created and their attributes |
91131
| <a name="output_replica_external_aliases"></a> [replica\_external\_aliases](#output\_replica\_external\_aliases) | A map of aliases created and their attributes |
92132
| <a name="output_replica_external_arn"></a> [replica\_external\_arn](#output\_replica\_external\_arn) | The Amazon Resource Name (ARN) of the key |
93133
| <a name="output_replica_external_grants"></a> [replica\_external\_grants](#output\_replica\_external\_grants) | A map of grants created and their attributes |
94134
| <a name="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` |
95135
| <a name="output_replica_external_key_id"></a> [replica\_external\_key\_id](#output\_replica\_external\_key\_id) | The globally unique identifier for the key |
96136
| <a name="output_replica_external_key_policy"></a> [replica\_external\_key\_policy](#output\_replica\_external\_key\_policy) | The IAM resource policy set on the key |
137+
| <a name="output_replica_external_key_region"></a> [replica\_external\_key\_region](#output\_replica\_external\_key\_region) | The region for the key |
97138
| <a name="output_replica_external_key_state"></a> [replica\_external\_key\_state](#output\_replica\_external\_key\_state) | The state of the CMK |
98139
| <a name="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 |
99140
| <a name="output_replica_grants"></a> [replica\_grants](#output\_replica\_grants) | A map of grants created and their attributes |
100141
| <a name="output_replica_key_arn"></a> [replica\_key\_arn](#output\_replica\_key\_arn) | The Amazon Resource Name (ARN) of the key |
101142
| <a name="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` |
102143
| <a name="output_replica_key_id"></a> [replica\_key\_id](#output\_replica\_key\_id) | The globally unique identifier for the key |
103144
| <a name="output_replica_key_policy"></a> [replica\_key\_policy](#output\_replica\_key\_policy) | The IAM resource policy set on the key |
145+
| <a name="output_replica_key_region"></a> [replica\_key\_region](#output\_replica\_key\_region) | The region for the key |
104146
| <a name="output_replica_key_state"></a> [replica\_key\_state](#output\_replica\_key\_state) | The state of the CMK |
105147
| <a name="output_replica_key_usage"></a> [replica\_key\_usage](#output\_replica\_key\_usage) | The cryptographic operations for which you can use the CMK |
148+
| <a name="output_replica_other_region_aliases"></a> [replica\_other\_region\_aliases](#output\_replica\_other\_region\_aliases) | A map of aliases created and their attributes |
149+
| <a name="output_replica_other_region_external_aliases"></a> [replica\_other\_region\_external\_aliases](#output\_replica\_other\_region\_external\_aliases) | A map of aliases created and their attributes |
150+
| <a name="output_replica_other_region_external_arn"></a> [replica\_other\_region\_external\_arn](#output\_replica\_other\_region\_external\_arn) | The Amazon Resource Name (ARN) of the key |
151+
| <a name="output_replica_other_region_external_grants"></a> [replica\_other\_region\_external\_grants](#output\_replica\_other\_region\_external\_grants) | A map of grants created and their attributes |
152+
| <a name="output_replica_other_region_external_key_expiration_model"></a> [replica\_other\_region\_external\_key\_expiration\_model](#output\_replica\_other\_region\_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` |
153+
| <a name="output_replica_other_region_external_key_id"></a> [replica\_other\_region\_external\_key\_id](#output\_replica\_other\_region\_external\_key\_id) | The globally unique identifier for the key |
154+
| <a name="output_replica_other_region_external_key_policy"></a> [replica\_other\_region\_external\_key\_policy](#output\_replica\_other\_region\_external\_key\_policy) | The IAM resource policy set on the key |
155+
| <a name="output_replica_other_region_external_key_region"></a> [replica\_other\_region\_external\_key\_region](#output\_replica\_other\_region\_external\_key\_region) | The region for the key |
156+
| <a name="output_replica_other_region_external_key_state"></a> [replica\_other\_region\_external\_key\_state](#output\_replica\_other\_region\_external\_key\_state) | The state of the CMK |
157+
| <a name="output_replica_other_region_external_key_usage"></a> [replica\_other\_region\_external\_key\_usage](#output\_replica\_other\_region\_external\_key\_usage) | The cryptographic operations for which you can use the CMK |
158+
| <a name="output_replica_other_region_grants"></a> [replica\_other\_region\_grants](#output\_replica\_other\_region\_grants) | A map of grants created and their attributes |
159+
| <a name="output_replica_other_region_key_arn"></a> [replica\_other\_region\_key\_arn](#output\_replica\_other\_region\_key\_arn) | The Amazon Resource Name (ARN) of the key |
160+
| <a name="output_replica_other_region_key_expiration_model"></a> [replica\_other\_region\_key\_expiration\_model](#output\_replica\_other\_region\_key\_expiration\_model) | Whether the key material expires. Empty when pending key material import, otherwise `KEY_MATERIAL_EXPIRES` or `KEY_MATERIAL_DOES_NOT_EXPIRE` |
161+
| <a name="output_replica_other_region_key_id"></a> [replica\_other\_region\_key\_id](#output\_replica\_other\_region\_key\_id) | The globally unique identifier for the key |
162+
| <a name="output_replica_other_region_key_policy"></a> [replica\_other\_region\_key\_policy](#output\_replica\_other\_region\_key\_policy) | The IAM resource policy set on the key |
163+
| <a name="output_replica_other_region_key_region"></a> [replica\_other\_region\_key\_region](#output\_replica\_other\_region\_key\_region) | The region for the key |
164+
| <a name="output_replica_other_region_key_state"></a> [replica\_other\_region\_key\_state](#output\_replica\_other\_region\_key\_state) | The state of the CMK |
165+
| <a name="output_replica_other_region_key_usage"></a> [replica\_other\_region\_key\_usage](#output\_replica\_other\_region\_key\_usage) | The cryptographic operations for which you can use the CMK |
106166
<!-- END_TF_DOCS -->
107167

108168
Apache-2.0 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-kms/blob/master/LICENSE).

0 commit comments

Comments
 (0)