-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behaviour Change. Why? #203
Comments
I guess my question is really:
|
Hi there! Thanks for asking, since I'm sure other people have the same question. In version 3, we decided to create/update/delete all resources through the API. Previously, only the basepath mapping was managed through CloudFormation. We moved away from creating anything through the stack for two reasons:
However, we still add the domain name and distribution domain name to the CloudFormation outputs, preserving the functionality requested in #43 implemented in #47. |
@captainsidd Thank you very much for the reply. That all makes sense. I have two follow up tasks:
Would you like me to create separate tickets for these? |
For anyone else having this issue - we had to add What is extremely unhelpful is that the error logging is completely lacking. The error received from any API call to AWS is discarded and a general error is returned. I had to modify JS files (to print the right error) and deploy locally to find out the problem.. |
@simlu @jwwisgerhof Yes - those are good suggestions. We'll be sure to update the README along with adding better error messages when in DEBUG mode in the near future. |
Same issue however Error I am getting on the console:
|
Hi @ashley7070 - have you tried |
Everyone, we've opened a PR with an updated README and better error messaging - let us know if there's any permissions we missed. Thanks! |
@captainsidd Unfortunately this didn't do the trick, here is an excerp of my policy file
|
@ashley7070 does that policy file work? It seems to match what we put into the README |
@captainsidd Unfortunately it does not work |
Ok this is what ended up working:
|
That makes sense. We're going to go ahead and merge the update PR then. |
In NPM release 2.6.13, the behaviour was as following:
(1) before pushing to aws the basepath was checked
(2) if appropriate the basepath change was injected into the cloudformation template
This worked great. However with the latest release 3.1.0 that was released four days ago all is done outside the cloudformation stack after the stack has fully deployed.
Has caused me a bit of headache since there is also no error details thrown and we have very tight IAM permissions. What is the reason for this change?
Cheers, L~
The text was updated successfully, but these errors were encountered: