Skip to content

Commit aeb4cab

Browse files
Regex fix parnercentersellv1 (IBM-Cloud#5958)
* fix(partner center sell): regex for programmatic name relaxed Signed-off-by: Peter Harasztia <[email protected]> * fix(partner center sell): revert package change Signed-off-by: Peter Harasztia <[email protected]> * fix line in doc Signed-off-by: Peter Harasztia <[email protected]> --------- Signed-off-by: Peter Harasztia <[email protected]>
1 parent 13dbdb2 commit aeb4cab

10 files changed

+21
-21
lines changed

ibm/service/partnercentersell/resource_ibm_onboarding_catalog_deployment.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright IBM Corp. 2024 All Rights Reserved.
1+
// Copyright IBM Corp. 2025 All Rights Reserved.
22
// Licensed under the Mozilla Public License v2.0
33

44
/*
5-
* IBM OpenAPI Terraform Generator Version: 3.97.0-0e90eab1-20241120-170029
5+
* IBM OpenAPI Terraform Generator Version: 3.99.0-d27cee72-20250129-204831
66
*/
77

88
package partnercentersell
@@ -983,7 +983,7 @@ func ResourceIbmOnboardingCatalogDeploymentValidator() *validate.ResourceValidat
983983
ValidateFunctionIdentifier: validate.ValidateRegexp,
984984
Type: validate.TypeString,
985985
Required: true,
986-
Regexp: `^[a-z0-9\-.]+$`,
986+
Regexp: `^[a-zA-Z0-9\-.]+$`,
987987
},
988988
validate.ValidateSchema{
989989
Identifier: "kind",

ibm/service/partnercentersell/resource_ibm_onboarding_catalog_plan.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright IBM Corp. 2024 All Rights Reserved.
1+
// Copyright IBM Corp. 2025 All Rights Reserved.
22
// Licensed under the Mozilla Public License v2.0
33

44
/*
5-
* IBM OpenAPI Terraform Generator Version: 3.97.0-0e90eab1-20241120-170029
5+
* IBM OpenAPI Terraform Generator Version: 3.99.0-d27cee72-20250129-204831
66
*/
77

88
package partnercentersell
@@ -440,7 +440,7 @@ func ResourceIbmOnboardingCatalogPlanValidator() *validate.ResourceValidator {
440440
ValidateFunctionIdentifier: validate.ValidateRegexp,
441441
Type: validate.TypeString,
442442
Required: true,
443-
Regexp: `^[a-z0-9\-.]+$`,
443+
Regexp: `^[a-zA-Z0-9\-.]+$`,
444444
},
445445
validate.ValidateSchema{
446446
Identifier: "kind",

ibm/service/partnercentersell/resource_ibm_onboarding_catalog_product.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright IBM Corp. 2024 All Rights Reserved.
1+
// Copyright IBM Corp. 2025 All Rights Reserved.
22
// Licensed under the Mozilla Public License v2.0
33

44
/*
5-
* IBM OpenAPI Terraform Generator Version: 3.97.0-0e90eab1-20241120-170029
5+
* IBM OpenAPI Terraform Generator Version: 3.99.0-d27cee72-20250129-204831
66
*/
77

88
package partnercentersell
@@ -1170,7 +1170,7 @@ func ResourceIbmOnboardingCatalogProductValidator() *validate.ResourceValidator
11701170
ValidateFunctionIdentifier: validate.ValidateRegexp,
11711171
Type: validate.TypeString,
11721172
Required: true,
1173-
Regexp: `^[a-z0-9\-.]+$`,
1173+
Regexp: `^[a-zA-Z0-9\-.]+$`,
11741174
},
11751175
validate.ValidateSchema{
11761176
Identifier: "kind",

ibm/service/partnercentersell/resource_ibm_onboarding_iam_registration.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright IBM Corp. 2024 All Rights Reserved.
1+
// Copyright IBM Corp. 2025 All Rights Reserved.
22
// Licensed under the Mozilla Public License v2.0
33

44
/*
5-
* IBM OpenAPI Terraform Generator Version: 3.97.0-0e90eab1-20241120-170029
5+
* IBM OpenAPI Terraform Generator Version: 3.99.0-d27cee72-20250129-204831
66
*/
77

88
package partnercentersell
@@ -1040,7 +1040,7 @@ func ResourceIbmOnboardingIamRegistrationValidator() *validate.ResourceValidator
10401040
ValidateFunctionIdentifier: validate.ValidateRegexp,
10411041
Type: validate.TypeString,
10421042
Required: true,
1043-
Regexp: `^[a-z0-9\-.]+$`,
1043+
Regexp: `^[a-zA-Z0-9\-.]+$`,
10441044
},
10451045
validate.ValidateSchema{
10461046
Identifier: "service_type",

ibm/service/partnercentersell/resource_ibm_onboarding_product.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright IBM Corp. 2024 All Rights Reserved.
1+
// Copyright IBM Corp. 2025 All Rights Reserved.
22
// Licensed under the Mozilla Public License v2.0
33

44
/*
5-
* IBM OpenAPI Terraform Generator Version: 3.97.0-0e90eab1-20241120-170029
5+
* IBM OpenAPI Terraform Generator Version: 3.99.0-d27cee72-20250129-204831
66
*/
77

88
package partnercentersell

website/docs/r/onboarding_catalog_deployment.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ Nested schema for **metadata**:
438438
* `terms_url` - (Optional, String) The URL for your product's end user license agreement.
439439
* Constraints: The maximum length is `2083` characters. The minimum length is `0` characters.
440440
* `name` - (Required, String) The programmatic name of this deployment.
441-
* Constraints: The value must match regular expression `/^[a-z0-9\\-.]+$/`.
441+
* Constraints: The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
442442
* `object_id` - (Optional, String) The desired ID of the global catalog object.
443443
* `object_provider` - (Required, List) The provider or owner of the product.
444444
Nested schema for **object_provider**:

website/docs/r/onboarding_catalog_plan.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Nested schema for **metadata**:
165165
* `terms_url` - (Optional, String) The URL for your product's end user license agreement.
166166
* Constraints: The maximum length is `2083` characters. The minimum length is `0` characters.
167167
* `name` - (Required, String) The programmatic name of this plan.
168-
* Constraints: The value must match regular expression `/^[a-z0-9\\-.]+$/`.
168+
* Constraints: The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
169169
* `object_id` - (Optional, String) The desired ID of the global catalog object.
170170
* `object_provider` - (Required, List) The provider or owner of the product.
171171
Nested schema for **object_provider**:

website/docs/r/onboarding_catalog_product.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ Nested schema for **metadata**:
260260
* `kind` - (Optional, String) The type of the composite child.
261261
* Constraints: Allowable values are: `service`, `platform_service`.
262262
* `name` - (Optional, String) The name of the composite child.
263-
* Constraints: The maximum length is `100` characters. The minimum length is `2` characters. The value must match regular expression `/^[a-z0-9\\-.]+$/`.
263+
* Constraints: The maximum length is `100` characters. The minimum length is `2` characters. The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
264264
* `composite_kind` - (Optional, String) The type of the composite service.
265265
* Constraints: Allowable values are: `service`, `platform_service`.
266266
* `composite_tag` - (Optional, String) The tag used for the composite parent and its children.
@@ -528,7 +528,7 @@ Nested schema for **metadata**:
528528
* `terms_url` - (Optional, String) The URL for your product's end user license agreement.
529529
* Constraints: The maximum length is `2083` characters. The minimum length is `0` characters.
530530
* `name` - (Required, String) The programmatic name of this product.
531-
* Constraints: The value must match regular expression `/^[a-z0-9\\-.]+$/`.
531+
* Constraints: The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
532532
* `object_id` - (Optional, String) The desired ID of the global catalog object.
533533
* `object_provider` - (Required, List) The provider or owner of the product.
534534
Nested schema for **object_provider**:

website/docs/r/onboarding_iam_registration.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ Nested schema for **display_name**:
301301
* `env` - (Optional, String) The environment to fetch this object from.
302302
* Constraints: The maximum length is `64` characters. The minimum length is `1` character. The value must match regular expression `/^[a-z]+$/`.
303303
* `name` - (Required, String) The IAM registration name, which must be the programmatic name of the product.
304-
* Constraints: The value must match regular expression `/^[a-z0-9\\-.]+$/`.
304+
* Constraints: The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
305305
* `parent_ids` - (Optional, List) The list of parent IDs for product access management.
306-
* Constraints: The list items must match regular expression `/^[a-z0-9\\-.]+$/`. The maximum length is `100` items. The minimum length is `0` items.
306+
* Constraints: The list items must match regular expression `/^[a-zA-Z0-9\\-.]+$/`. The maximum length is `100` items. The minimum length is `0` items.
307307
* `product_id` - (Required, Forces new resource, String) The unique ID of the product.
308308
* Constraints: The maximum length is `71` characters. The minimum length is `71` characters. The value must match regular expression `/^[a-zA-Z0-9]{32}:o:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/`.
309309
* `resource_hierarchy_attribute` - (Optional, List) The resource hierarchy key-value pair for composite services.

website/docs/r/onboarding_product.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ After your resource is created, you can read values from the listed arguments an
6565
* `approver_resource_id` - (String) The ID of the approval workflow of your product.
6666
* `global_catalog_offering_id` - (String) The ID of a global catalog object.
6767
* `iam_registration_id` - (String) IAM registration identifier.
68-
* Constraints: The maximum length is `512` characters. The minimum length is `2` characters. The value must match regular expression `/^[a-z0-9\\-.]+$/`.
68+
* Constraints: The maximum length is `512` characters. The minimum length is `2` characters. The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
6969
* `private_catalog_id` - (String) The ID of the private catalog that contains the product. Only applicable for software type products.
7070
* Constraints: The value must match regular expression `/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/`.
7171
* `private_catalog_offering_id` - (String) The ID of the linked private catalog product. Only applicable for software type products.

0 commit comments

Comments
 (0)