Skip to content

Commit

Permalink
Adds another dependency to test s3 file copy
Browse files Browse the repository at this point in the history
Refs #938
  • Loading branch information
shawncrawley committed Nov 15, 2024
1 parent 0764c84 commit b31e1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Testing/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ data "aws_s3_objects" "test_nwm_outputs" {
}

resource "aws_s3_object_copy" "test" {
depends_on = [var.s3_module, var.lambda_module, var.step_function_module]
depends_on = [var.s3_module, var.lambda_module, var.step_function_module, aws_cloudwatch_event_target.trigger_pipeline_test_run]
count = length(data.aws_s3_objects.test_nwm_outputs.keys)
bucket = var.test_data_bucket
source = join("/", [var.test_data_bucket, element(data.aws_s3_objects.test_nwm_outputs.keys, count.index)])
Expand Down

0 comments on commit b31e1f7

Please sign in to comment.