aws-quickstart / quickstart-linux-bastion

Linux bastion host

Home Page:https://aws-quickstart.github.io/quickstart-linux-bastion/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'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.

Screen Shot 2022-05-07 at 9 46 43 AM

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.