Open okigan opened 4 years ago
another one having troubles: https://www.reddit.com/r/aws/comments/aotkxj/deploying_a_personalized_api_gateway_serverless/
@okigan im having issues with this too, i've deployed this sucessfully but when attempting to make example requests to my API through swagger ... im getting CORS errors which im still trying to figure out ... would also love to know if anyone actually has this up and running before i spend any more time running into issues
Cors issue you need to fix on api side to return correct headers in options method
I could not get it to work, but even if it works it shows all the usage plans and allows users to subscribe outside of the marketplace- which also would be unacceptable.
I ended up making my own which was way more complex than anticipated for just getting the apikey to user (that supposedly just agreed to pay)
@okigan Okay thanks,
and when i test the subscribe button it does issue me with an API key but i would expect to be redirected to AWS marketplace to confirm my subscription / payment etc ..
i'd love to try and get this working because even without the swagger calls working it still has the API usage stats hooked up to the API key for that user which is very useful ...
Will let you know if i get it working
@rob94p try out this deployment https://bit.ly/2x5pDdu, you'll need to sign in to see API (which is another oddity).
https://youtu.be/XwfpPEFHKtQ?t=1832 this was a year ago....
I am tempted to build template that is production ready and works AWS marketplace. Ping me on my user name at gmail.com. I think there should be nominal fee, but I am sure it will save you time.
I'm struggling with this too.
@okigan were you able to get the integration with AWS marketplace working ?
@dhatawesomedude no I was not, I find apigateway / AWS marketplace integration as one of the most complex integrations. I also got impression aws-api-gateway-developer-portal is discouraged from use.
In the end I've build custom integration -- I am considering to convert it AWS template and sell it, as I think it would save about a month of dev/integration time -- let me know if interested.
@okigan I am interested in your marketplace integration. Please let me know how we can connect.
@hanatgit sure, see contact info at the bottom of the page
Ran into another issue with AWS marketplace integration makes me wonder if anybody has it working at all? Please comment if you have it working or not for your AWS marketplace integration.
INFO error: AccessDeniedException: User: arn:aws:sts::____:assumed-role/serverlessrepo-___-BackendLambdaExecutionRo-___/serverlessrepo-__-SubscriptionListenerLamb-___ is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:us-east-1:___:table/DevPortalCustomers/index/MarketplaceCustomerIdIndex