Closed flah00 closed 4 years ago
Once the aws iam authenticator is enabled, the root stack can no longer be deleted, because the root stack exports a variable the control plane relies on. To delete the root stack you must first delete the control plane.
Export k8s-NodePoolPool1eWorkerIAMRoleArn cannot be deleted as it is in use by k8s-Controlplane-1VKY701ZEUMW4
Hey @flah00,
Thanks again for the work. Could you add a comment about that root stack deletion somewhere appropriate so that it doesn't just exist in this PR?
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign justinsb
You can assign the PR to them by writing /assign @justinsb
in a comment when ready.
The full list of commands accepted by this bot can be found here.
/approved /lgtm
Description
OpenICMP
and ssh security groupsVersions
Installing the aws-iam-authenticator
AWS authenticator expects IAM roles for controllers and workers already exist. As it is currently configured, the aws-iam-authenticator must be enabled after the initial
kube-aws apply
. This is because the exports on the root stack, for workers, are not available to the control plane stack during creation, ie+00:06:18 CREATE_FAILED test-Controlplane-13Y4STRG1AGDV "No export named test-NodePoolPool1eWorkerIAMRoleArn found"