https://github.com/brinkmanlab/galaxy-container/blob/0b8cba46170ecd1199d1e85b17cacc80ab43a4eb/destinations/docker/app.tf#L74 Change to remote-exec provisioner that runs same command in the app container. Locate any other 'wait' resources and change to provisioner. Also remove https://github.com/brinkmanlab/galaxy-container/blob/0b8cba46170ecd1199d1e85b17cacc80ab43a4eb/destinations/docker/main.tf#L10