From edcfaf9007883ed5bf59526ec64f8ab006ce55d8 Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 15 Mar 2024 01:11:28 -0700 Subject: [PATCH] big workflow, 2 --- .github/workflows/cicd-pipeline.yml | 3 +-- examples/cumulus-tf/browse_image_workflow.tf | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd-pipeline.yml b/.github/workflows/cicd-pipeline.yml index 7b350df..67f4d39 100644 --- a/.github/workflows/cicd-pipeline.yml +++ b/.github/workflows/cicd-pipeline.yml @@ -275,8 +275,7 @@ jobs: - name: Validate Terraform working-directory: examples/cumulus-tf run: | - ls -al - ls -al .terraform + ls -al ../../ terraform init -backend=false terraform validate -no-color diff --git a/examples/cumulus-tf/browse_image_workflow.tf b/examples/cumulus-tf/browse_image_workflow.tf index c85ad3e..ac933a6 100644 --- a/examples/cumulus-tf/browse_image_workflow.tf +++ b/examples/cumulus-tf/browse_image_workflow.tf @@ -39,7 +39,7 @@ resource "aws_sfn_state_machine" "sfn_state_machine" { name = "${local.ec2_resources_name}-BrowseImageWorkflow" role_arn = aws_iam_role.iam_execution.arn - definition = templatefile(".terraform/modules/bignbit_module/state_machine_definition.json", { + definition = templatefile("../../terraform/state_machine_definition.json", { GetDatasetConfigurationLambda = module.bignbit_module.get_dataset_configuration_arn, ConfigBucket = module.bignbit_module.config_bucket_name, ConfigDir = module.bignbit_module.config_path,