-
Notifications
You must be signed in to change notification settings - Fork 36
aws not found error #5
Copy link
Copy link
Open
Description
Hi. Hoping you can help with this. I'm trying to run an aws command from heroku-postbuild. I've added your buildpack and am able to run the aws command in a one off dyno like...
heroku run aws cloudfront create-invalidation --distribution-id ###
But when I add it to my package.json heroku-postbuild parameter, I get the following error...
remote: Running heroku-postbuild
remote:
remote: > app@1.0.0 heroku-postbuild /tmp/build_s87d6fs78d
remote: > aws cloudfront create-invalidation --distribution-id ###
remote:
remote: sh: 1: aws: not found
Any idea why aws is not available at that point, or what I can do to fix this?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels