Created
March 23, 2023 17:48
-
-
Save hendrixroa/366c4886bdfe17ebf353807f7c6cbc72 to your computer and use it in GitHub Desktop.
Packaging archive to zip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data "archive_file" "main" { | |
type = "zip" | |
source_dir = var.code_location | |
output_path = "${path.module}/.terraform/archive_files/${var.filename}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment