Skip to content

simple node script in nodejs to invalidate cloudfront cache

Notifications You must be signed in to change notification settings

gcis/cloudfront-invalidate-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Simple cache invalidator for AWS cloudfront in nodejs ###CONFIGURATION In the main folder run

npm install

####Credentials & distribution ID Add you credentials in the file credentials.json and insert your cloudfront distribution ID at the line 9 of index.js

###RUN

node index.js

##WARNING: hard-coding credentials is not a good practice. ####Consider using instance role or the main aws configuration file instead You can find further documentation at https://aws.amazon.com/sdk-for-node-js/

About

simple node script in nodejs to invalidate cloudfront cache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published