{"repo":"chetan/invalidate-cloudfront-action","free":true,"listed":false,"github":"https://github.com/chetan/invalidate-cloudfront-action","clone":"git clone https://github.com/chetan/invalidate-cloudfront-action.git","description":"Invalidate AWS CloudFront distribution paths","language":"Shell","stars":167,"topics":["aws","github-actions"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Invalidate AWS CloudFront action A GitHub Workflow Action for invalidating CloudFront distribution paths Usage See also a sample workflow which illustrates a static site build and deploy. Configuration Param Required? Description --------------------- --------- -------------------------------------------------------------------------------------------------- PATHS yes A list of one or more space-separated paths to invalidate PATHS FROM yes Filename to read list of paths from DISTRIBUTION yes CloudFront distribution ID to operate on, e.g., 'EDFDVBD6EXAMPLE' AWS REGION yes AWS Region to operate in AWS ACCESS KEY ID yes Access key with necessary permissions to invalidate objects in the target distribution (see below) AWS SECRET ACCESS KEY yes Secret key DEBUG no When set to \"1\", prints the final awscli invalidation command for troubleshooting purposes Note : either PATHS or PATHS FROM is required. PATHS FROM will overwrite PATHS if both are set. See also: AWS CLI reference Paths Paths are passed directly to the aws cli create-invalidation command and so must be a proper space-separated list of paths. Examples: Alternatively, you can write the list of files to invalidate to a file which will then be slurped into the PATHS variable. This lets you use some other method to dynamically generate the list of files based on the commit, etc. Example workflow steps: AWS Credentials The recommended way to pass AWS credentials to your GitHub actions is to use OpenID Connect. Once configured","default_branch":null,"files":null,"tree":[],"storefront":"/r/chetan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chetan/invalidate-cloudfront-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}