sfn-glue-sync-cdk: Update aws-cdk-lib and replace deprecated Python shell 3.6 with 3.9#3214
Open
kakakakakku wants to merge 5 commits into
Open
sfn-glue-sync-cdk: Update aws-cdk-lib and replace deprecated Python shell 3.6 with 3.9#3214kakakakakku wants to merge 5 commits into
kakakakakku wants to merge 5 commits into
Conversation
a51cc14 to
3f82898
Compare
kakakakakku
commented
Jul 6, 2026
| state_machine = sfn.StateMachine( | ||
| self, "GlueJobStateMachine", | ||
| definition=definition, | ||
| definition_body=sfn.DefinitionBody.from_chainable(definition), |
Contributor
Author
There was a problem hiding this comment.
[WARNING] aws-cdk-lib.aws_stepfunctions.TaskStateBaseOptions#timeout is deprecated.
use `taskTimeout`
This API will be removed in the next major release.
[WARNING] aws-cdk-lib.aws_stepfunctions.StateMachineProps#definition is deprecated.
use definitionBody: DefinitionBody.fromChainable()
This API will be removed in the next major release.
| command=glue.CfnJob.JobCommandProperty( | ||
| name='pythonshell', | ||
| python_version='3', | ||
| python_version='3.9', |
Contributor
Author
There was a problem hiding this comment.
note: python_version='3' means Python 3.6, which is already deprecated. I updated it to '3.9', the latest version available for Python shell jobs. No newer Python version has been released for Python shell jobs since then.
See https://docs.aws.amazon.com/glue/latest/dg/add-job-python.html
The same change was made and approved in PR below.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
N/A
Description of changes:
Hi😀 Thanks for the useful patterns!
To keep this pattern maintainable, I updated the aws-cdk-lib.
Check
cdk deploycompleted successfully and works good.Thank you😀
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.