Invalid value for field resource.tags.items
Applies to
- OnCommand Cloud Manager (OCCM)
- Cloud Volumes ONTAP (CVO)
- Google Cloud Platform (GCP)
- Custom firewall rules
- Terraform
Issue
When trying to provision a new CVO cluster with custom firewall rules, getting error:
Error: Failed to create CVO, error: Operation Deploy failed with error Error: Code: RESOURCE_ERRORTarget: /deployments/nacvogcptest1-deployment/resources/nacvogcptest1-mediator Message:{"ResourceType":"compute.v1.instance","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"errors":[{"domain":"global","message":"Invalid value for field 'resource.tags.items[0]': ''. Must be a match of regex'(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)'","reason":"invalid"}],"message":"Invalid value for field 'resource.tags.items[0]': ''. Mustbe a match of regex '(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)'","statusMessage":"BadRequest","requestPath":"https://compute.googleapis.com/compu...est3-c/instances"," httpMethod":"POST"}}