Skip to content

Commit

Permalink
Update browse_image_workflow.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
frankinspace authored Mar 7, 2024
1 parent fecfec9 commit dfe7968
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion examples/cumulus-tf/browse_image_workflow.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
/*
In a typcial cumulus installation, this is how you would define the workflow:
module "browse_image_workflow" {
source = "../../terraform"
source = source = "https://github.com/nasa/cumulus/releases/download/v16.1.2/terraform-aws-cumulus-workflow.zip"
prefix = var.prefix
name = "BrowseImageWorkflow"
workflow_config = module.cumulus.workflow_config
system_bucket = var.system_bucket
definition = module.bignbit_module.browse_image_state_machine_definition
}
This example is deployable without cumulus installed for the purpose of testing the module in isolation; so it does not use terraform-aws-cumulus-workflow.zip
*/

resource "aws_sfn_state_machine" "sfn_state_machine" {
name = "${local.ec2_resources_name}-BrowseImageWorkflow"
role_arn = aws_iam_role.step.arn

definition = module.bignbit_module.browse_image_state_machine_definition
}

0 comments on commit dfe7968

Please sign in to comment.