Skip to content

[Bug] Can't get iamserviceaccount because of an issue with an unrelated cloud formation stack #8314

Open
@calebgrollins

Description

@calebgrollins

What were you trying to accomplish?

What happened?

How to reproduce it?

I am trying to use eksctl get the iamserviceaccount of a given application, let's call it APPLICATION-A
eksctl get iamserviceaccount --region us-east-1 --name APPLICATION-A-sa --namespace OUR_NAMESPACE --cluster OUR-CLUSTER

This returns an error based on the CloudFormation stack of a different, unrelated serviceaccount for APPLICATION-B

Error: getting iamserviceaccounts: no output "Role1" in stack "eksctl-OUR-CLUSTER-addon-iamserviceaccount-OUR-NAMESPACE-APPLICATION-B-sa"

I do see the above error in APPLICATION-B's CloudFormation stack, but the stack for the APPLICATION-A is fine

I would expect that an error in one stack shouldn't prevent me from interacting with a different, unrelated serviceaccount

Logs

Anything else we need to know?

Windows 11

Versions

$ eksctl info

I'm using the latest AMD64/x86_64 build for Windows from here: https://eksctl.io/installation/#for-windows

eksctl version: 0.206.0
kubectl version: v1.29.1
OS: windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions