Esri / Esri/arcgis-gitops

Improve *-aws-destroy workflows

Open
#242 0 comments 0 reactions 1 assignee Claimed by @pbobov View on GitHub
bug
Dominant language
HCL
Stars
32
Forks
9
Avg merge
1h 3m
Merged PRs (30d)
2

Description

In certain cases *-aws-destroy workflows fail or leave orphaned AWS resources.

1. If ArcGIS Server configuration store type is set to "AMAZON", the config store S3 bucket and DynamoDB table created by the *-application workflows are not deleted by *-aws-destroy workflows.
2. If deployment was restored from AWS Backup using *-recover workflows, *-aws-destroy workflows fail with the following error message:
> "An error occurred (AuthFailure) when calling the DeregisterImage operation: This image is managed by AWS Backup and cannot be deleted via EC2 APIs. To delete this image, please use the AWS Backup APIs, CLI, or console."
3. If ArcGIS Server configuration store type is set to "AMAZON" and the deployment was restored from AWS Backup using *-recover workflows, *-aws-destroy workflows fail with the following error message:
> "Error: deleting Backup Plan (XXX): operation error Backup: DeleteBackupPlan, https response error StatusCode: 400, RequestID: XXX, InvalidRequestException: Related backup plan selections must be deleted prior to backup plan deletion"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.