Skip to content

#209 Deregister deployments AMIs and delete EBS snapshots in *-aws-destroy workflows #210

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

Merged
merged 1 commit into from
Apr 18, 2025

Conversation

pbobov
Copy link
Collaborator

@pbobov pbobov commented Apr 18, 2025

The fix adds "Delete AMIs" step to enterprise-base-windows-aws-destroy, enterprise-base-linux-aws-destroy, and server-linux-aws-destroy workflows. The new step:

  • Deregisters the deployments AMIs
  • Deletes the AMI's EBS snapshots
  • Deletes the /arcgis/<site id>/images/<deployment id>/<machine role> SSM parameters

Also, ec2:DeleteSnapshot and ec2:DeregisterImage permissions were added to ArcGISEnterpriseDestroy IAM policy.

@pbobov pbobov merged commit 17fb8ea into main Apr 18, 2025
2 checks passed
@pbobov pbobov deleted the issue209 branch April 18, 2025 15:04
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.

1 participant