-
Notifications
You must be signed in to change notification settings - Fork 11
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
Can't run serverless puresec gen-roles #14
Comments
Hey @mikeblanton, thanks for the report! The CLI uses the command It also looks like you don't have the latest version of Serverless. They have made some changes in the last versions regarding parsing the configuration which may fix the issue (if the problem is really with sls package). |
I didn't realize my serverless version was out of date! I've updated it, same result.
|
Also I've repackaged my app slightly and now I'm not using the colocate plugin anymore. |
Hi @mikeblanton , We suspect that the problem is in parsing one of the intrinsic functions (Fn::Join, Fun::Sub etc.) in your serverless.yml file. Would you be able to send a gist of your serverless.yml (or the final generated CloudFormation) file while stripping any sensitive/important data? Thanks, |
I got a similar error; in my case it is due to the serverless-pseudo-parameter changing region in Resource, e.g. us-east-1 => ${AWS::Region} For example, let's say you have any resource reference like:
Do a serverless package:
I am guessing the plugin doesn't understand |
Did you ever get it working with psuedo params? if not what was your solution? |
I am also having this issue and can relate that when serverless psudo params is removed that it works. |
Hello! I'm trying to run
serverless puresec gen-roles
, but it's coming up with an error. I suspect it might be due to the fact that I'm also using the colocate serverless plugin. I can successfully deploy the app usingserverless deploy
. Any thoughts on what might be happening?The text was updated successfully, but these errors were encountered: