amazon-archives / awsmobile-cli

CLI experience for Frontend developers in the JavaScript ecosystem.
Apache License 2.0
142 stars 35 forks source link

push resets api key requirement in api gateway #165

Open aeife opened 6 years ago

aeife commented 6 years ago

So I know that currently there is no direct way of setting an api key requirement with mobile hub. Thats why I configured my resources directly in Api Gateway to require an api key. But whenever I push my local project with awsmobile the requirement is reset to false. This basically prevents me from using the api key feature at all, because I would need to manually set it again after every push.

Is there a way to prevent awsmobile from overwriting my api gateway settings? Api Key seems to be the only setting that is overwritten as far as I noticed.