data "archive_file" "${init}" {
         type        = "zip"
         source_file = "\${path.module}/init.tpl"
         output_path = "\${path.module}/files/init.zip"
      }
      Terraform language logo

      archive_file

      Terraform snippets

      This code creates an archive of the init.tpl file in the module's files directory.

      Shortcut: tf_archive_file

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.