remote_exec_provisioner

    0

    0

    lucycodes42

    Terraform snippets

    The provisioner "remote-exec" in the code example will run Puppet apply on the remote AWS instance. It will also join the consul server on that remote AWS instance.

    Shortcut: tf_remote_exec_provisioner

       provisioner "remote-exec" {
           inline = [
               "puppet apply",
               "consul join ${aws_instance.web.private_ip}"
           ]
       }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.