Skip to content

ci(deploy): target delete_seller_profile resolver before full apply#52

Merged
dmeiser merged 1 commit into
mainfrom
fix/prod-appsync-resolver-migration
Jul 12, 2026
Merged

ci(deploy): target delete_seller_profile resolver before full apply#52
dmeiser merged 1 commit into
mainfrom
fix/prod-appsync-resolver-migration

Conversation

@dmeiser

@dmeiser dmeiser commented Jul 12, 2026

Copy link
Copy Markdown
Owner

AppSync rejects deleting pipeline functions still referenced by a resolver. The deleteSellerProfile resolver was refactored to a single function, so run a targeted apply for the resolver first, then the full apply.

AppSync rejects deleting pipeline functions that are still referenced by a
resolver. The deleteSellerProfile resolver was refactored from a multi-function
pipeline to a single delete_profile_cascade function. Terraform's plan tries to
destroy the old functions before updating the resolver, causing the apply to
fail.

Work around this by first applying only the resolver update, then running the
full apply to destroy the orphaned functions and complete the deployment.
@dmeiser
dmeiser merged commit 75d0b3b into main Jul 12, 2026
5 of 6 checks passed
@dmeiser
dmeiser deleted the fix/prod-appsync-resolver-migration branch July 12, 2026 10:25
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