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

fix: upload correct file, depend on archive

parent f9407c26
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,6 @@ data "archive_file" "test_artifact" { ...@@ -9,6 +9,6 @@ data "archive_file" "test_artifact" {
} }
resource "local_file" "test_copy" { resource "local_file" "test_copy" {
source = data.archive_file.output_path source = data.archive_file.test_artifact.output_path
filename = "${path.module}/test-local-file.zip" filename = "${path.module}/test-local-file.zip"
} }
...@@ -11,7 +11,7 @@ include: ...@@ -11,7 +11,7 @@ include:
validate_rules: [{when: on_success}] validate_rules: [{when: on_success}]
plan_rules: [{when: on_success}] plan_rules: [{when: on_success}]
plan_extra_artifacts: plan_extra_artifacts:
- test-artifact.zip - tests/iac-upload-artifacts/
apply_rules: [{when: on_success}] apply_rules: [{when: on_success}]
# For CI Terraform state cleanup # For CI Terraform state cleanup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment