Skip to content

Update stepfunction.py #316

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update stepfunction.py #316

wants to merge 1 commit into from

Conversation

Wolgo
Copy link

@Wolgo Wolgo commented Mar 6, 2025

Explicitly only retrieve METADATA_ONLY

Not setting this value can result in errors if the agent does not have access to the KMS key or the kms:decrypt action, while the description is always discarded.

Instead, we can prevent these errors and remove the need to remove the description.

See: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/stepfunctions/client/describe_state_machine.html

Step 1: Link to Jira issue

Step 2: Description of changes

Only retrieve METADATA to prevent errors on permissions that are needed to retrieve data that are discarded later on.

Step 3: Did you add / update tests for your changes in the right area?

  • Unit/Component test
  • Integration test

Step 4: I'm confident that everything is properly tested:

I got a PO / QA Approval by:

  • Name

Step 5: Can we ship this feature to production?

  • Yes, I'm proud of my work. Ship it! 🚢

Explicitly only retrieve METADATA_ONLY

Not setting this value can result in errors if the agent does not have access to the KMS key or the kms:decrypt action, while the description is always discarded.

Instead, we can prevent these errors and remove the need to remove the description.

See: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/stepfunctions/client/describe_state_machine.html
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.

1 participant