Skip to content
Snippets Groups Projects
Commit da6ec69a authored by Alex Maras's avatar Alex Maras
Browse files

fix: use file after creation

parent b08afb4d
Branches
No related tags found
No related merge requests found
data "archive_file" "test_artifact" { data "archive_file" "test_artifact" {
type = "zip" type = "zip"
output_path = "test-artifact.zip" output_path = "${path.module}/test-artifact.zip"
source { source {
content = "test artifact inner value" content = "test artifact inner value"
filename = "file-inside-archive.txt" filename = "file-inside-archive.txt"
} }
} }
resource "local_file" "test_copy" {
source = "${path.module}/test-artifact.zip"
filename = "${path.module}/test-local-file.zip"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment