Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resource decorator step functions issue #1610

Merged
merged 3 commits into from Oct 24, 2023

Conversation

saikonen
Copy link
Collaborator

fixes the use of shared_memory and use_tmpfs in combination with a resources decorator for step-functions.

closes #1609

Comment on lines -667 to -671
resources.update(
compute_resource_attributes(
node.decorators, batch_deco, batch_deco.resource_defaults
)
)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did not seem necessary as the same computation is happening inside the batch decorator as well.

@saikonen
Copy link
Collaborator Author

An alternative fix would be to use json.loads on all values returned from compute_resource_attributes so that they retain some types.

@savingoyal savingoyal merged commit 37cf424 into master Oct 24, 2023
17 of 20 checks passed
@savingoyal savingoyal deleted the fix/resource-decorator-step-functions-issue branch October 24, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

step-functions fails to deploy with resources decorator and integer values
2 participants