file_provisioner

    0

    0

    lucycodes42

    Terraform snippets

    The code creates a file called myapp.conf in the current directory, and copies the myapp.conf file from the current directory to /etc/myapp.conf.

    Shortcut: tf_file_provisioner

       # Copies the myapp.conf file to /etc/myapp.conf
       provisioner "file" {
           source = "conf/myapp.conf"
           destination = "/etc/myapp.conf"
       }
    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.