cluster-api-provider-aws icon indicating copy to clipboard operation
cluster-api-provider-aws copied to clipboard

How to handle global roles and related stacks (possibly duplicated stacks)

Open vinibali opened this issue 2 years ago • 6 comments
trafficstars

/kind bug

What steps did you take and what happened:

  • create stack1 in region1
  • create stack1 in region2

What did you expect to happen:

  • stack1 becomes available in both regions

Anything else you would like to add: We end up having problems as the global roles were created with stack1 in region1. While creating stack1 in region2, the stack creation has failed, as the global roles are already available. What would be a better way to check if stack1 is already available? As we see clusterawsadm is not able to give back such values.

Environment:

  • Cluster-api-provider-aws version: v2.0.2
  • Kubernetes version: (use kubectl version): v1.26.8
  • OS (e.g. from /etc/os-release): SLES 15

vinibali avatar Sep 06 '23 11:09 vinibali