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 errors with bedrock-finetuning module deployment #108

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/fmops/bedrock-finetuning/deployspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ deploy:
build:
commands:
- env
- cdk deploy --require-approval never --progress events --app "npx ts-node --prefer-ts-exts bin/mlops_modules_development.ts"
- cdk deploy --require-approval never --progress events --app "npx ts-node --prefer-ts-exts bin/bedrock-finetuning.ts"
destroy:
phases:
install:
Expand All @@ -17,4 +17,4 @@ destroy:
- npm install
build:
commands:
- cdk destroy --force --app "npx ts-node --prefer-ts-exts index.ts"
- cdk destroy --force --app "npx ts-node --prefer-ts-exts bin/bedrock-finetuning.ts"
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class AmazonBedrockFinetuningStack extends cdk.Stack {
new sfn.Succeed(this, "Succeed"),
);
const stateMachine = new sfn.StateMachine(this, "MyStateMachine", {
definition: definition,
definitionBody: sfn.DefinitionBody.fromChainable(definition),
timeout: cdk.Duration.minutes(5),
stateMachineName: "BedrockFinetuning",
tracingEnabled: true,
Expand Down
Loading
Loading