This template allows for both remote-exec and CloudInit based deployments. By default it uses remote-exec, which uses the bastion host as an intermediary to run deployment commands using SSH. Alternatively this can be disabled, which allows for CloudInit based deployment. CloudInit packs all deployment commands into the bastion host metadata, and executes at host build time. This permits deployment with zero internet exposure, entirely on private subnet if desired. Disabling the remote-exec option during stack setup will unlock options for CloudInit based deployment.
0 commit comments