website icon indicating copy to clipboard operation
website copied to clipboard

Does Not Support Profiles

Open kling-appfire opened this issue 6 years ago • 4 comments

The .env file is non-standard and requires scripting to switch out or tokenize the .env for different AWS environments. Please update to support 'profile' in yml that references ~/.aws/credentials entries

kling-appfire avatar Oct 15 '19 21:10 kling-appfire

Thanks for your feedback @kling-appfire ... that sounds reasonable. The issue is that if we are trying to support all providers, and profile in n~/.aws/credentials is AWS specific. So we figured the best middle ground here is to rely on .env files since everyone is familiar with env vars.

eahefnawy avatar Oct 17 '19 17:10 eahefnawy

Thanks. Are there plans to make website/component a 1st Class Enterprise service? So we could have provider/profile and inline ${opt.variable} and ${self.variable}? Put me on the updates list for that! :)

kling-appfire avatar Oct 17 '19 19:10 kling-appfire

@kling-appfire @eahefnawy I am using the aws profile via npm script like this "deploy:sls": "serverless --aws-profile <yourprofile name>". I do not use .env file for this and works fine.

fodurrr avatar Oct 28 '19 00:10 fodurrr

@kling-appfire @eahefnawy I am using the aws profile via npm script like this "deploy:sls": "serverless --aws-profile <yourprofile name>". I do not use .env file for this and works fine.

Thank you! I'll try that.

kling-appfire avatar Oct 29 '19 15:10 kling-appfire