Skip to content

Commit

Permalink
updating tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
haitchison committed Oct 20, 2023
1 parent 83978be commit ba15bf3
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ parameters:

mainSteps:
- name: CreateSnapshot
action: aws:createSnapshot
action: aws:runDocument
inputs:
InstanceId: "{{ InstanceId }}"
VolumeId: "{{ VolumeId }}"
description: "{{ SnapshotName }}"
documentType: SSMDocument
documentPath: AWS-CreateSnapshot
documentParameters:
VolumeId: "{{ VolumeId }}"
description: "{{ SnapshotName }}"
onFailure: Abort

- name: getRootVolumeSpace
Expand Down Expand Up @@ -162,7 +164,7 @@ mainSteps:
- |
Write-Output "Image ID: $ImageId"
- name: waitForAMI
- name: waitForAMI # update this
action: aws:waitForImages
inputs:
imageIds: ["{{ createImage.ImageId }}"]
Expand Down

0 comments on commit ba15bf3

Please sign in to comment.