Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex fix parnercentersellv1 #5958

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright IBM Corp. 2024 All Rights Reserved.
// Copyright IBM Corp. 2025 All Rights Reserved.
// Licensed under the Mozilla Public License v2.0

/*
* IBM OpenAPI Terraform Generator Version: 3.97.0-0e90eab1-20241120-170029
* IBM OpenAPI Terraform Generator Version: 3.99.0-d27cee72-20250129-204831
*/

package partnercentersell
Expand Down Expand Up @@ -983,7 +983,7 @@ func ResourceIbmOnboardingCatalogDeploymentValidator() *validate.ResourceValidat
ValidateFunctionIdentifier: validate.ValidateRegexp,
Type: validate.TypeString,
Required: true,
Regexp: `^[a-z0-9\-.]+$`,
Regexp: `^[a-zA-Z0-9\-.]+$`,
},
validate.ValidateSchema{
Identifier: "kind",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright IBM Corp. 2024 All Rights Reserved.
// Copyright IBM Corp. 2025 All Rights Reserved.
// Licensed under the Mozilla Public License v2.0

/*
* IBM OpenAPI Terraform Generator Version: 3.97.0-0e90eab1-20241120-170029
* IBM OpenAPI Terraform Generator Version: 3.99.0-d27cee72-20250129-204831
*/

package partnercentersell
Expand Down Expand Up @@ -440,7 +440,7 @@ func ResourceIbmOnboardingCatalogPlanValidator() *validate.ResourceValidator {
ValidateFunctionIdentifier: validate.ValidateRegexp,
Type: validate.TypeString,
Required: true,
Regexp: `^[a-z0-9\-.]+$`,
Regexp: `^[a-zA-Z0-9\-.]+$`,
},
validate.ValidateSchema{
Identifier: "kind",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright IBM Corp. 2024 All Rights Reserved.
// Copyright IBM Corp. 2025 All Rights Reserved.
// Licensed under the Mozilla Public License v2.0

/*
* IBM OpenAPI Terraform Generator Version: 3.97.0-0e90eab1-20241120-170029
* IBM OpenAPI Terraform Generator Version: 3.99.0-d27cee72-20250129-204831
*/

package partnercentersell
Expand Down Expand Up @@ -1170,7 +1170,7 @@ func ResourceIbmOnboardingCatalogProductValidator() *validate.ResourceValidator
ValidateFunctionIdentifier: validate.ValidateRegexp,
Type: validate.TypeString,
Required: true,
Regexp: `^[a-z0-9\-.]+$`,
Regexp: `^[a-zA-Z0-9\-.]+$`,
},
validate.ValidateSchema{
Identifier: "kind",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright IBM Corp. 2024 All Rights Reserved.
// Copyright IBM Corp. 2025 All Rights Reserved.
// Licensed under the Mozilla Public License v2.0

/*
* IBM OpenAPI Terraform Generator Version: 3.97.0-0e90eab1-20241120-170029
* IBM OpenAPI Terraform Generator Version: 3.99.0-d27cee72-20250129-204831
*/

package partnercentersell
Expand Down Expand Up @@ -1040,7 +1040,7 @@ func ResourceIbmOnboardingIamRegistrationValidator() *validate.ResourceValidator
ValidateFunctionIdentifier: validate.ValidateRegexp,
Type: validate.TypeString,
Required: true,
Regexp: `^[a-z0-9\-.]+$`,
Regexp: `^[a-zA-Z0-9\-.]+$`,
},
validate.ValidateSchema{
Identifier: "service_type",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright IBM Corp. 2024 All Rights Reserved.
// Copyright IBM Corp. 2025 All Rights Reserved.
// Licensed under the Mozilla Public License v2.0

/*
* IBM OpenAPI Terraform Generator Version: 3.97.0-0e90eab1-20241120-170029
* IBM OpenAPI Terraform Generator Version: 3.99.0-d27cee72-20250129-204831
*/

package partnercentersell
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/onboarding_catalog_deployment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ Nested schema for **metadata**:
* `terms_url` - (Optional, String) The URL for your product's end user license agreement.
* Constraints: The maximum length is `2083` characters. The minimum length is `0` characters.
* `name` - (Required, String) The programmatic name of this deployment.
* Constraints: The value must match regular expression `/^[a-z0-9\\-.]+$/`.
* Constraints: The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
* `object_id` - (Optional, String) The desired ID of the global catalog object.
* `object_provider` - (Required, List) The provider or owner of the product.
Nested schema for **object_provider**:
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/onboarding_catalog_plan.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Nested schema for **metadata**:
* `terms_url` - (Optional, String) The URL for your product's end user license agreement.
* Constraints: The maximum length is `2083` characters. The minimum length is `0` characters.
* `name` - (Required, String) The programmatic name of this plan.
* Constraints: The value must match regular expression `/^[a-z0-9\\-.]+$/`.
* Constraints: The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
* `object_id` - (Optional, String) The desired ID of the global catalog object.
* `object_provider` - (Required, List) The provider or owner of the product.
Nested schema for **object_provider**:
Expand Down Expand Up @@ -200,7 +200,7 @@ You can import the `ibm_onboarding_catalog_plan` resource by using `id`.
The `id` property can be formed from `product_id`, `catalog_product_id`, and `catalog_plan_id` in the following format:

<pre>
product_id/catalog_product_id/catalog_plan_id
&lt;product_id&gt;/&lt;catalog_product_id&gt;/&lt;catalog_plan_id&gt;
</pre>
* `product_id`: A string. The unique ID of the product.
* `catalog_product_id`: A string. The unique ID of this global catalog product.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/onboarding_catalog_product.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ Nested schema for **metadata**:
* `kind` - (Optional, String) The type of the composite child.
* Constraints: Allowable values are: `service`, `platform_service`.
* `name` - (Optional, String) The name of the composite child.
* Constraints: The maximum length is `100` characters. The minimum length is `2` characters. The value must match regular expression `/^[a-z0-9\\-.]+$/`.
* Constraints: The maximum length is `100` characters. The minimum length is `2` characters. The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
* `composite_kind` - (Optional, String) The type of the composite service.
* Constraints: Allowable values are: `service`, `platform_service`.
* `composite_tag` - (Optional, String) The tag used for the composite parent and its children.
Expand Down Expand Up @@ -528,7 +528,7 @@ Nested schema for **metadata**:
* `terms_url` - (Optional, String) The URL for your product's end user license agreement.
* Constraints: The maximum length is `2083` characters. The minimum length is `0` characters.
* `name` - (Required, String) The programmatic name of this product.
* Constraints: The value must match regular expression `/^[a-z0-9\\-.]+$/`.
* Constraints: The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
* `object_id` - (Optional, String) The desired ID of the global catalog object.
* `object_provider` - (Required, List) The provider or owner of the product.
Nested schema for **object_provider**:
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/onboarding_iam_registration.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ Nested schema for **display_name**:
* `env` - (Optional, String) The environment to fetch this object from.
* Constraints: The maximum length is `64` characters. The minimum length is `1` character. The value must match regular expression `/^[a-z]+$/`.
* `name` - (Required, String) The IAM registration name, which must be the programmatic name of the product.
* Constraints: The value must match regular expression `/^[a-z0-9\\-.]+$/`.
* Constraints: The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
* `parent_ids` - (Optional, List) The list of parent IDs for product access management.
* Constraints: The list items must match regular expression `/^[a-z0-9\\-.]+$/`. The maximum length is `100` items. The minimum length is `0` items.
* Constraints: The list items must match regular expression `/^[a-zA-Z0-9\\-.]+$/`. The maximum length is `100` items. The minimum length is `0` items.
* `product_id` - (Required, Forces new resource, String) The unique ID of the product.
* 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}$/`.
* `resource_hierarchy_attribute` - (Optional, List) The resource hierarchy key-value pair for composite services.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/onboarding_product.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ After your resource is created, you can read values from the listed arguments an
* `approver_resource_id` - (String) The ID of the approval workflow of your product.
* `global_catalog_offering_id` - (String) The ID of a global catalog object.
* `iam_registration_id` - (String) IAM registration identifier.
* Constraints: The maximum length is `512` characters. The minimum length is `2` characters. The value must match regular expression `/^[a-z0-9\\-.]+$/`.
* Constraints: The maximum length is `512` characters. The minimum length is `2` characters. The value must match regular expression `/^[a-zA-Z0-9\\-.]+$/`.
* `private_catalog_id` - (String) The ID of the private catalog that contains the product. Only applicable for software type products.
* 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}/`.
* `private_catalog_offering_id` - (String) The ID of the linked private catalog product. Only applicable for software type products.
Expand Down
Loading