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
fix: remove the region variable validation from the module and update tests for KMS (#362)
* fix: remove the region validation
* remove KMS integration from test
* remove KMS integration from test
---------
Co-authored-by: mukul-palit <mukul.palit@ibm.com>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ You need the following permissions to run this module.
148
148
| <aname="input_existing_kms_instance_crn"></a> [existing\_kms\_instance\_crn](#input\_existing\_kms\_instance\_crn)| The CRN of the Hyper Protect Crypto Services or Key Protect instance. Required only if `var.kms_encryption_enabled` is set to `true`. |`string`|`null`| no |
149
149
| <aname="input_kms_encryption_enabled"></a> [kms\_encryption\_enabled](#input\_kms\_encryption\_enabled)| Flag to enable the KMS encryption when the configured plan is 'enterprise'. |`bool`|`false`| no |
150
150
| <aname="input_kms_endpoint_url"></a> [kms\_endpoint\_url](#input\_kms\_endpoint\_url)| The URL of the key management service endpoint to use for key encryption. For more information on the endpoint URL format for Hyper Protect Crypto Services, go to [Instance-based endpoints](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-regions#new-service-endpoints). For more information on the endpoint URL format for Key Protect, go to [Service endpoints](https://cloud.ibm.com/docs/key-protect?topic=key-protect-regions#service-endpoints). It is required if `kms_encryption_enabled` is set to true. |`string`|`null`| no |
151
-
| <aname="input_region"></a> [region](#input\_region)| The region to provision the App Configuration service, valid regions are au-syd, jp-osa, jp-tok, eu-de, eu-gb, eu-es, us-east, us-south, ca-tor, br-sao, eu-fr2, ca-mon. |`string`|`"us-south"`| no |
151
+
| <aname="input_region"></a> [region](#input\_region)| The region to provision the App Configuration service. |`string`|`"us-south"`| no |
152
152
| <aname="input_resource_group_id"></a> [resource\_group\_id](#input\_resource\_group\_id)| The resource group ID where resources will be provisioned. |`string`| n/a | yes |
153
153
| <aname="input_root_key_id"></a> [root\_key\_id](#input\_root\_key\_id)| The key ID of a root key, existing in the key management service instance passed in `var.existing_kms_instance_crn`, which is used to encrypt the data encryption keys which are then used to encrypt the data. Required only if `var.kms_encryption_enabled` is set to `true`. |`string`|`null`| no |
154
154
| <aname="input_skip_app_config_event_notifications_auth_policy"></a> [skip\_app\_config\_event\_notifications\_auth\_policy](#input\_skip\_app\_config\_event\_notifications\_auth\_policy)| Set to true to skip the creation of an IAM authorization policy that permits App configuration instances to integrate with Event Notification in the same account. |`bool`|`false`| no |
Copy file name to clipboardExpand all lines: variables.tf
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,10 @@ variable "resource_group_id" {
8
8
}
9
9
10
10
variable"region" {
11
-
description="The region to provision the App Configuration service, valid regions are au-syd, jp-osa, jp-tok, eu-de, eu-gb, eu-es, us-east, us-south, ca-tor, br-sao, eu-fr2, ca-mon."
11
+
description="The region to provision the App Configuration service."
error_message="Value for region must be one of the following: ${join(", ", ["jp-osa", "au-syd", "jp-tok", "eu-de", "eu-gb", "eu-es", "us-east", "us-south", "ca-tor", "br-sao", "eu-fr2", "ca-mon"])}"
0 commit comments