gulp-cloudfront-invalidate-aws-publish | awspublish plugin that allows you to invalidate | Frontend Framework library
kandi X-RAY | gulp-cloudfront-invalidate-aws-publish Summary
kandi X-RAY | gulp-cloudfront-invalidate-aws-publish Summary
A gulp-awspublish plugin that allows you to invalidate paths in AWS cloudfront.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gulp-cloudfront-invalidate-aws-publish
gulp-cloudfront-invalidate-aws-publish Key Features
gulp-cloudfront-invalidate-aws-publish Examples and Code Snippets
Community Discussions
Trending Discussions on gulp-cloudfront-invalidate-aws-publish
QUESTION
I am trying to deploy my nuxt static website to S3 using this guide. https://nuxtjs.org/faq/deployment-aws-s3-cloudfront
The deployscript works when using which I tried an a personal AWS account: AWS_ACCESS_KEY_ID="key" AWS_SECRET_ACCESS_KEY="secret"
It does not work when unsetting these exports and using the AWS_PROFILE export on a separate AWS account. On this AWS I am not able to get an access key and secret because of company policy.
I also use these AWS profiles for other things so I am sure they are configured properly.
The error I am getting in the console is:
Error: Connect EHOSTUNREACH
The part in brackets is the IP address I am seeing. Which is weird where it tries to connect to EC2 since the script works on S2 and cloudfront.
The script I am using
#!/bin/bash
...ANSWER
Answered 2020-Nov-02 at 15:45Since awspublish uses the javascript sdk I needed to export AWS_SDK_LOAD_CONFIG=true
which solved the issue!
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gulp-cloudfront-invalidate-aws-publish
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page