Skip to content

Commit

Permalink
fix: default to public
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-butler-irl committed Nov 9, 2022
1 parent a5dc287 commit 74c1d42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ No modules.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_dual_auth_delete_enabled"></a> [dual\_auth\_delete\_enabled](#input\_dual\_auth\_delete\_enabled) | Set as true to enable Dual Auth Delete | `bool` | `false` | no |
| <a name="input_endpoint_type"></a> [endpoint\_type](#input\_endpoint\_type) | Endpoint to use when creating the Key | `string` | `"private"` | no |
| <a name="input_endpoint_type"></a> [endpoint\_type](#input\_endpoint\_type) | Endpoint to use when creating the Key | `string` | `"public"` | no |
| <a name="input_force_delete"></a> [force\_delete](#input\_force\_delete) | Set as true to enable forcing deletion even if key is in use | `bool` | `false` | no |
| <a name="input_key_name"></a> [key\_name](#input\_key\_name) | Name to give the key | `string` | n/a | yes |
| <a name="input_key_protect_instance_id"></a> [key\_protect\_instance\_id](#input\_key\_protect\_instance\_id) | ID of Key Protect Instance | `string` | n/a | yes |
Expand Down
2 changes: 1 addition & 1 deletion module-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"name": "endpoint_type",
"type": "string",
"description": "Endpoint to use when creating the Key",
"default": "private",
"default": "public",
"source": [
"ibm_kms_key.key.endpoint_type",
"ibm_kms_key_policies.root_key_policy.endpoint_type",
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ variable "standard_key" {
variable "endpoint_type" {
type = string
description = "Endpoint to use when creating the Key"
default = "private"
default = "public"

validation {
condition = can(regex("public|private", var.endpoint_type))
Expand Down

0 comments on commit 74c1d42

Please sign in to comment.