diff --git a/cloudformation.yaml b/cloudformation.yaml index a1cf455..9776396 100644 --- a/cloudformation.yaml +++ b/cloudformation.yaml @@ -592,7 +592,10 @@ Resources: JumpInstance: Type: AWS::EC2::Instance - DependsOn: InternetGatewayAttachment + DependsOn: + - InternetGatewayAttachment + - HighSideInstance + - SalsaImageRegistryInstance Properties: ImageId: !FindInMap ["RegionMap", !Ref "AWS::Region", "ami"] InstanceType: !Ref JumpInstanceType @@ -668,6 +671,11 @@ Resources: curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o /tmp/awscliv2.zip unzip -q -d /tmp /tmp/awscliv2.zip && rm -f /tmp/awscliv2.zip && /tmp/aws/install && rm -rf /tmp/aws + # scan for other SSH hosts + ssh-keyscan highside >> /etc/ssh/ssh_known_hosts + ssh-keyscan salsa-registry >> /etc/ssh/ssh_known_hosts + ssh-keyscan nat >> /etc/ssh/ssh_known_hosts + # Setup VNC yum -y install "@GNOME" firefox tigervnc-server