Skip to content

Commit

Permalink
Merge pull request #339 from 4dn-dcic/cost_lmd
Browse files Browse the repository at this point in the history
cost lambda name from var
  • Loading branch information
SooLee authored May 20, 2021
2 parents 3991dd7 + 8ab9e6a commit b84b7d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tibanna/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Version information."""

# The following line *must* be the last in the module, exactly as formatted:
__version__ = "1.2.7"
__version__ = "1.2.8"
9 changes: 7 additions & 2 deletions tibanna/stepfunction_cost_updater.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
from .vars import AWS_REGION, AWS_ACCOUNT_NUMBER, SFN_TYPE
from .vars import (
AWS_REGION,
AWS_ACCOUNT_NUMBER,
SFN_TYPE,
UPDATE_COST_LAMBDA_NAME
)


class StepFunctionCostUpdater(object):
Expand Down Expand Up @@ -65,7 +70,7 @@ def sfn_state_defs(self):
},
"UpdateCostAwsem": {
"Type": "Task",
"Resource": self.lambda_arn_prefix + "update_cost_awsem" + self.lambda_suffix,
"Resource": self.lambda_arn_prefix + UPDATE_COST_LAMBDA_NAME + self.lambda_suffix,
"ResultPath": "$.done",
"Next": "UpdateCostDone"
},
Expand Down

0 comments on commit b84b7d9

Please sign in to comment.