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

Bot cli deploy command has error but says Bot deployed #3956

Open
jmalobicky opened this issue Feb 14, 2024 · 0 comments
Open

Bot cli deploy command has error but says Bot deployed #3956

jmalobicky opened this issue Feb 14, 2024 · 0 comments
Assignees
Milestone

Comments

@jmalobicky
Copy link
Contributor

When requesting a new Bot deploy via the cli, there was an error but the output says that a bot was deployed.

Saving source code...
Updating bot.....
Success! New bot version: 3006a2b4-9666-4da0-b0a0-9b0ac717603f
Deploying bot...
Deploy error:  f [Error]: The operation cannot be performed at this time. An update is in progress for resource: arn:aws:lambda:us-east-1:<account>:function:medplum-bot-lambda-e93792d2-5571-42f6-b5b5-bc39fc72341d
    at $r.parseResponse (node_modules/@medplum/core/dist/cjs/index.cjs:42:7957)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Lt (node_modules/@medplum/cli/dist/cjs/index.cjs:2:38628)
    at async wt (node_modules/@medplum/cli/dist/cjs/index.cjs:5:26625)
    at async Command.<anonymous> (node_modules/@medplum/cli/dist/cjs/index.cjs:5:26159)
    at async Command.parseAsync (node_modules/commander/lib/command.js:936:5)
    at async fn (node_modules/@medplum/cli/dist/cjs/index.cjs:13:1619)
    at async hn (node_modules/@medplum/cli/dist/cjs/index.cjs:13:1747) {
  outcome: {
    resourceType: 'OperationOutcome',
    issue: [ [Object] ],
    extension: [ [Object] ]
  },
  cause: undefined
}
Number of bots deployed: 1

Expected:
The output to say Number of bots deployed: <actual successful deploys>. In this case only 1 bot was requested and should have output that 0 bots were deployed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready to Start
Development

No branches or pull requests

4 participants