Open
Description
We are migrating our ROSA management to Terraform, and previously, we've been setting the cluster name to something longer than 15 chars along with the domain prefix override. I don't see a domain_prefix
option with the cluster module and I'm getting this error with our current cluster naming standards:
│ Error: Invalid Attribute Value Length
│
│ with module.region-usw2.module.rosa_hcp_cluster.module.rosa_cluster_hcp.rhcs_cluster_rosa_hcp.rosa_hcp_cluster,
│ on .terraform/modules/region-usw2.rosa_hcp_cluster/modules/rosa-cluster-hcp/main.tf line 29, in resource "rhcs_cluster_rosa_hcp" "rosa_hcp_cluster":
│ 29: name = var.cluster_name
│
│ Attribute name string length must be at most 15, got: 17
Versions:
$ terraform version
Terraform v1.11.3
on linux_amd64
+ provider registry.terraform.io/hashicorp/aws v5.93.0
+ provider registry.terraform.io/hashicorp/http v3.4.5
+ provider registry.terraform.io/hashicorp/null v3.2.3
+ provider registry.terraform.io/hashicorp/random v3.7.1
+ provider registry.terraform.io/hashicorp/time v0.13.0
+ provider registry.terraform.io/terraform-redhat/rhcs v1.6.2
ROSA CLI documentation
Metadata
Metadata
Assignees
Labels
No labels