seqeralabs / terraform-seqera-aws

Apache License 2.0
5 stars 3 forks source link

Error: creating EKS Node Group #13

Closed pditommaso closed 10 months ago

pditommaso commented 10 months ago

The following error is reported while creating the EKS node group:

╷
│ Error: creating EKS Node Group (seqera-platform-test:seqera-20231111222640915700000002): InvalidParameterException: Invalid value: Seqera Platform : field must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]')
│ {
│   RespMetadata: {
│     StatusCode: 400,
│     RequestID: "ad143f3b-38f4-42fa-8f47-d65ce31b7463"
│   },
│   ClusterName: "seqera-platform-test",
│   Message_: "Invalid value: Seqera Platform : field must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]')",
│   NodegroupName: "seqera-20231111222640915700000002"
│ }
│ 
│   with module.terraform-seqera-module.module.eks.module.eks_managed_node_group["seqera"].aws_eks_node_group.this[0],
│   on .terraform/modules/terraform-seqera-module.eks/modules/eks-managed-node-group/main.tf line 308, in resource "aws_eks_node_group" "this":
│  308: resource "aws_eks_node_group" "this" {
│ 
pditommaso commented 10 months ago

I believe this tag is the problem

https://github.com/seqeralabs/terraform-seqera-module/blob/master/variables.tf#L20