Closed rennerocha closed 5 years ago
@rennerocha Looks good to me, thanks, is it ready to be merged?
@rennerocha Looks good to me, thanks, is it ready to be merged?
Yes, it is!
@rennerocha May I ask why this was done? I am trying to use this plugin WITHOUT having to specify access/secret key so I can use the credential chain built-in to aws cli.
I am trying to use this plugin WITHOUT having to specify access/secret key so I can use the credential chain built-in to aws cli.
@joeharrison714 It sounds reasonable. Using environment variables is the most common way to pass the settings, based on my experience, but definitely not the only one. I'd suggest to make the check optional: enabled by default and disabled if DOTSCRAPY_CHECK_ENVIRONMENT
setting is set to False, would it work for you?
Extension will not enable if ADDONS_AWS_ACCESS_KEY_ID and ADDONS_AWS_SECRET_ACCESS_KEY are not defined in spider settings.