Open
Description
ROSA HCP clusters fail to deploy when using RH provided terraform module when
-
Using more tags (can be reproduced adding 18-19 tags)
-
Any white space is present in tags
Steps for reproducing and results :
-
Using the ROSA HCP terraform module from github repo deploy a cluster with adding either 17+ tags (passed through variables.tf and called in main.tf) or any tag with a white space or both.
1a .If more than 17 tags are present the cluster fails to deploy with error log (says invalid subnet) similar to the below in cloudtrail
"errorCode": "Client.InvalidSubnetId.Malformed",
"errorMessage": "Invalid Subnet Id: '' (expecting 'subnet-...; the Id may only contain lowercase alphanumeric characters and a single dash')",
1b. When white space is present in any of the tags, the deployment fails with error :
│ Can't create cluster with name '<clustername>': status is 400, identifier is '400', code is 'CLUSTERS-MGMT-400', at '2025-05-12T01:04:19Z' and operation identifier is
│ 'xxxxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxx': Given tags can't be used for Hosted Control Plane cluster: 'invalid tag(s) detected:
│ invalid tag value 'th ree space' at key 'tag3': {expected to match '^[0-9A-Za-z_.:/=+-@]+$'}'
Metadata
Metadata
Assignees
Labels
No labels