aws-amplify / aws-amplify/amplify-hosting

feat: Add an option to disable the CloudFront invalidate on deployment

Open
#2,452 3 comments 5 reactions 0 assignees View on GitHub
feature-request hosting
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

This reddit post describes the issue quite well: https://www.reddit.com/r/aws/comments/kak4l7/aws_amplify_keep_artifacts_from_old_builds_live/

We could solve this by simply skipping the cache invalidation step after a deployment. That should be an option to configure for each project or branch.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the deployment flow to the CloudFront cache invalidation step and review how project and branch settings are configured. Done means a project or branch can explicitly skip invalidation after deployment, while the default behavior remains clear and the option is covered by the relevant deployment tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
ci-cd, cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.