Skip to content

Multiregion is not supported #339

Open
Open
@g-iannelli

Description

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"}

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions