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

feat: runbook snapshot create #343

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

benPearce1
Copy link
Contributor

@benPearce1 benPearce1 commented Mar 15, 2024

This is WIP, not complete

Notes to future me:
This is currently only supporting creating a new snapshot and publishing it - which is a bit wrong.
Publishing an existing snapshot requires POST to the runbook with an update to the PublishedRunbookSnapshotId property set to the snapshot id

This should be changed to be two commands:
runbook snapshot create with an optional --publish parameter
runbook snapshot publish to publish an existing snapshot:
runbook snapshot publish --runbook "runbook name" --snapshot "Snapshot QWE123"

will probably fix #110

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.

Add commands for Runbook operations, specifically 'create-runbook'
1 participant