Skip to content

Fix: Gracefully handle "application version already exists" errors when reuse is enabled#71

Draft
VarshaRagavendran wants to merge 4 commits into
mainfrom
v_avFix
Draft

Fix: Gracefully handle "application version already exists" errors when reuse is enabled#71
VarshaRagavendran wants to merge 4 commits into
mainfrom
v_avFix

Conversation

@VarshaRagavendran

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:
When applicationVersionExists check fails (e.g., missing IAM permissions), the action now catches "already exists" errors during creation and falls back to reusing
the existing version instead of failing. Added diagnostic warnings for missing permissions.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Catch "already exists" errors during version creation and fall back to reusing the existing version when use-existing-application-version-if-available is enabled. Surface silent errors as warnings.
…-exists errors

Added a warning when "already exists" error occurs with reuse disabled, suggesting the user check for missing elasticbeanstalk:DescribeApplicationVersions IAM permission.
… were never used downstream

removed redundant DescribeApplicationVersions API calls whose results were never used downstream
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