'BastionBootstrapScript' is failing with initial deployment, but works when done as stack update
DarwinJS opened this issue · comments
With the exact same custom bastion script, I am getting the below error when trying to stand it up with the current EKS QuickStart.
You can see in the script I simple add ssm-user to sudoers and install docker.
However, with an older one I was able to add the script to advanced parameters, rerun the stack and it works fine.
I just re-re-tested this to be sure that this is what I am seeing and it is indeed confirmed. Fails if used with initial stack deployment, works if you update the advanced deployment stack to add the custom bastion bootstrap script followed by updating the eks stack. Same script both times.
Fixed this at some point this year and no longer able to reproduce.