Skip to content

Commit 2e49912

Browse files
fix: updated the value of endpoint_type in the DA to be "private" and hide the variables from list of inputs user will see (#13)
1 parent 040e2b9 commit 2e49912

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module "custom_credential_engine" {
4343
secrets_manager_guid = "<secrets_manager_instance_id>"
4444
secrets_manager_region = "<secrets_manager_instance_region>"
4545
custom_credential_engine_name = "My Custom Credentials Engine"
46-
endpoint_type = "public"
46+
endpoint_type = "private"
4747
code_engine_project_id = "<code_engine_project_id>"
4848
code_engine_job_name = "<code_engine_project_job_name>"
4949
code_engine_region = "<code_engine_region>"
@@ -105,7 +105,7 @@ You need the following permissions to run this module.
105105
| <a name="input_code_engine_project_id"></a> [code\_engine\_project\_id](#input\_code\_engine\_project\_id) | The Project ID of the code engine project used by the custom credentials configuration. | `string` | n/a | yes |
106106
| <a name="input_code_engine_region"></a> [code\_engine\_region](#input\_code\_engine\_region) | The region of the code engine project. | `string` | n/a | yes |
107107
| <a name="input_custom_credential_engine_name"></a> [custom\_credential\_engine\_name](#input\_custom\_credential\_engine\_name) | The name of the custom credentials engine to be created. | `string` | n/a | yes |
108-
| <a name="input_endpoint_type"></a> [endpoint\_type](#input\_endpoint\_type) | The endpoint type to communicate with the provided secrets manager instance. Possible values are `public` or `private`. | `string` | `"public"` | no |
108+
| <a name="input_endpoint_type"></a> [endpoint\_type](#input\_endpoint\_type) | The endpoint type to communicate with the provided secrets manager instance. Possible values are `public` or `private`. | `string` | `"private"` | no |
109109
| <a name="input_iam_credential_secret_auto_rotation_interval"></a> [iam\_credential\_secret\_auto\_rotation\_interval](#input\_iam\_credential\_secret\_auto\_rotation\_interval) | The rotation interval for the rotation policy. | `string` | `60` | no |
110110
| <a name="input_iam_credential_secret_auto_rotation_unit"></a> [iam\_credential\_secret\_auto\_rotation\_unit](#input\_iam\_credential\_secret\_auto\_rotation\_unit) | The unit of time for rotation policy. Acceptable values are `day` or `month`. | `string` | `"day"` | no |
111111
| <a name="input_iam_credential_secret_group_id"></a> [iam\_credential\_secret\_group\_id](#input\_iam\_credential\_secret\_group\_id) | Secret Group ID of secret where IAM Secret will be added to, leave default (null) to add in the default secret group. | `string` | `null` | no |

ibm_catalog.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@
178178
},
179179
{
180180
"key": "endpoint_type",
181+
"hidden": true,
181182
"options": [
182183
{
183184
"displayname": "private",

solutions/fully-configurable/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ variable "skip_secrets_manager_code_engine_auth_policy" {
6565
variable "endpoint_type" {
6666
type = string
6767
description = "The endpoint type to communicate with the provided secrets manager instance. Possible values are `public` or `private`"
68-
default = "public"
68+
default = "private"
6969

7070
validation {
7171
condition = contains(["public", "private"], var.endpoint_type)

tests/pr_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ var permanentResources map[string]interface{}
2727

2828
// TestMain will be run before any parallel tests, used to read data from yaml for use with tests
2929
func TestMain(m *testing.M) {
30-
3130
var err error
3231
permanentResources, err = common.LoadMapFromYaml(yamlLocation)
3332
if err != nil {

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ variable "skip_secrets_manager_code_engine_auth_policy" {
2626
variable "endpoint_type" {
2727
type = string
2828
description = "The endpoint type to communicate with the provided secrets manager instance. Possible values are `public` or `private`."
29-
default = "public"
29+
default = "private"
3030
validation {
3131
condition = contains(["public", "private"], var.endpoint_type)
3232
error_message = "The specified endpoint_type is not a valid selection!"

0 commit comments

Comments
 (0)