cluster-api-provider-aws
cluster-api-provider-aws copied to clipboard
How to handle global roles and related stacks (possibly duplicated stacks)
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