Skip to content

Commit

Permalink
job success
Browse files Browse the repository at this point in the history
  • Loading branch information
voxparcxls committed Jun 20, 2024
1 parent 82f27c7 commit ae031c0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions examples/cumulus-tf/browse_image_workflow.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ resource "aws_sfn_state_machine" "sfn_state_machine" {
role_arn = aws_iam_role.step.arn

definition = module.bignbit_module.workflow_definition
#tags = var.tags
}
12 changes: 10 additions & 2 deletions examples/cumulus-tf/variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,17 @@ variable "app_name" {

variable "default_tags" {
type = map(string)
default = {}
#default = {
# bignbit-version = "2.0.1"
#}
}

#variable "tags" {
# type = map(string)
# default = {
# Name = "StateMachine"
# Environment = "SIT"
# }
#}
variable "stage" {}
variable "app_version" {}

Expand Down
4 changes: 2 additions & 2 deletions terraform/state_machine_definition.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
{
"Variable":"$.payload.harmony_job_status",
"StringMatches":"successful",
"Next":"JobSuccessful",
"Next":"Job Successful",
"Comment":"Job successful"
},
{
Expand All @@ -292,7 +292,7 @@
],
"Default":"Wait 20 Seconds"
},
"JobSuccessful":{
"Job Successful":{
"Type":"Succeed"
},
"Fail":{
Expand Down

0 comments on commit ae031c0

Please sign in to comment.