~jeffa/jeffa.io

880516b050aacadd6b1655561b7ce4f62326a0bd — Jeff a month ago f297efe
Add commands to null resource
1 files changed, 2 insertions(+), 0 deletions(-)

M main.tf
M main.tf => main.tf +2 -0
@@ 42,7 42,9 @@ resource "null_resource" "jeffa_io" {
  provisioner "remote-exec" {
    inline = [
      "snap install doctl",
      "mkdir /root/.config",
      "doctl auth init -t ${var.do_token}",
      "sudo snap connect doctl:dot-docker",
      "doctl registry login",
      "docker pull registry.digitalocean.com/jeff/jeffa.io",
      "docker run registry.digitalocean.com/jeff/jeffa.io",