You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When try to install two cluster with the same name in different region, I got an error about resources that already exist.
{"@level":"error","@message":"Error: Error creating IAM User eks-barebone-bootstrap: EntityAlreadyExists: User with name eks-barebone-bootstrap already exists.\n\tstatus code: 409, request id: 37b52aa1-a837-445a-acda-a683d7f65070","@module":"terraform.ui","@timestamp":"2023-02-15T15:58:24.356264+01:00","diagnostic":{"severity":"error","summary":"Error creating IAM User eks-barebone-bootstrap: EntityAlreadyExists: User with name eks-barebone-bootstrap already exists.\n\tstatus code: 409, request id: 37b52aa1-a837-445a-acda-a683d7f65070","detail":"","address":"module.vpc-and-vpn.aws_iam_user.furyagent","range":{"filename":".terraform/modules/vpc-and-vpn/modules/vpc-and-vpn/vpn.tf","start":{"line":123,"column":37,"byte":3669},"end":{"line":123,"column":38,"byte":3670}},"snippet":{"context":"resource \"aws_iam_user\"\"furyagent\"","code":"resource \"aws_iam_user\"\"furyagent\" {","start_line":123,"highlight_start_offset":36,"highlight_end_offset":37,"values":[]}},"type":"diagnostic"}
{"@level":"error","@message":"Error: error creating IAM policy eks-barebone-bootstrap: EntityAlreadyExists: A policy called eks-barebone-bootstrap already exists. Duplicate names are not allowed.\n\tstatus code: 409, request id: 3bf901a6-5829-4f9a-845d-1fca44b2cc7c","@module":"terraform.ui","@timestamp":"2023-02-15T15:58:24.364677+01:00","diagnostic":{"severity":"error","summary":"error creating IAM policy eks-barebone-bootstrap: EntityAlreadyExists: A policy called eks-barebone-bootstrap already exists. Duplicate names are not allowed.\n\tstatus code: 409, request id: 3bf901a6-5829-4f9a-845d-1fca44b2cc7c","detail":"","address":"module.vpc-and-vpn.aws_iam_policy.furyagent","range":{"filename":".terraform/modules/vpc-and-vpn/modules/vpc-and-vpn/vpn.tf","start":{"line":140,"column":39,"byte":4043},"end":{"line":140,"column":40,"byte":4044}},"snippet":{"context":"resource \"aws_iam_policy\" \"furyagent\"","code":"resource \"aws_iam_policy\" \"furyagent\" {","start_line":140,"highlight_start_offset":38,"highlight_end_offset":39,"values":[]}},"type":"diagnostic"}
The text was updated successfully, but these errors were encountered:
Additional information:
Some resources are at account level and the naming convention uses the cluster name + some ide. but it does not consider the case of two clusters with the same name in different regions, colliding the resource names. The naming convention should consider this and add some uniqueness to the name.
When try to install two cluster with the same name in different region, I got an error about resources that already exist.
The text was updated successfully, but these errors were encountered: