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,