-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fecfec9
commit dfe7968
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |