local_exec_provisioner

    0

    0

    lucycodes42

    Terraform snippets

    When the provisioner "local-exec" is executed, it will echo the private IP of the current AWS instance to private_ips.txt.

    Shortcut: tf_local_exec_provisioner

       provisioner "local-exec" {
           command = "echo ${aws_instance.web.private_ip} >> private_ips.txt"
       }
    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.