Skip to content

Commit

Permalink
bump cdk version & add metadata export
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Kukushkin <[email protected]>
  • Loading branch information
kukushking committed Feb 5, 2024
1 parent 82fd555 commit da3c0a4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions modules/sagemaker/sagemaker-endpoint/deployspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ deploy:
commands:
- env
# Install whatever additional build libraries
- npm install -g aws-cdk@2.91.0
- npm install -g aws-cdk@2.126.0
- pip install -r requirements.txt
build:
commands:
- cdk deploy --require-approval never --progress events --app "python app.py" --outputs-file ./cdk-exports.json
# Export metadata
- seedfarmer metadata convert -f cdk-exports.json || true
destroy:
phases:
install:
commands:
# Install whatever additional build libraries
- npm install -g aws-cdk@2.91.0
- npm install -g aws-cdk@2.126.0
- pip install -r requirements.txt
build:
commands:
Expand Down
4 changes: 2 additions & 2 deletions modules/sagemaker/sagemaker-endpoint/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aws-cdk-lib==2.91.0
cdk-nag==2.12.29
aws-cdk-lib==2.126.0
cdk-nag==2.28.27
yamldataclassconfig
boto3
2 changes: 1 addition & 1 deletion modules/sagemaker/sagemaker-endpoint/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
long_description_content_type="text/markdown",
author="author",
install_requires=[
"aws-cdk-lib==2.20.0",
"aws-cdk-lib==2.126.0",
],
python_requires=">=3.6",
classifiers=[
Expand Down

0 comments on commit da3c0a4

Please sign in to comment.