As a developer of notify, I would like our system to automatically invalidate cloudfront cache when we static assets, so that there are no manual steps in infrastructure deployments, and we can be sure that our assets are updated.
WHY are we building?
When deploying assets, in order for them to take effect immediately in an environment, we must first invalidate the cache. If we don't do this, it will take several hours before our changes take effect in production, which could cause issues.
WHAT are we building?
Build a script that is executed post deployment that invalidates cache.
VALUE created by our solution
We will be able to ensure that our latest changes are always in sync.
Acceptance Criteria
[ ] When the asset s3 bucket is run, an invalidate action is run afterward.
Description
As a developer of notify, I would like our system to automatically invalidate cloudfront cache when we static assets, so that there are no manual steps in infrastructure deployments, and we can be sure that our assets are updated.
WHY are we building?
When deploying assets, in order for them to take effect immediately in an environment, we must first invalidate the cache. If we don't do this, it will take several hours before our changes take effect in production, which could cause issues.
WHAT are we building?
Build a script that is executed post deployment that invalidates cache.
VALUE created by our solution
We will be able to ensure that our latest changes are always in sync.
Acceptance Criteria
QA Steps