Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiregion is not supported #339

Open
g-iannelli opened this issue Feb 15, 2023 · 1 comment
Open

Multiregion is not supported #339

g-iannelli opened this issue Feb 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@g-iannelli
Copy link
Contributor

g-iannelli commented Feb 15, 2023

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"}
@g-iannelli g-iannelli added the bug Something isn't working label Feb 15, 2023
@ralgozino
Copy link
Member

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.

@nutellinoit nutellinoit transferred this issue from sighupio/furyctl Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants