27 Commits

Author SHA1 Message Date
Austen Collins
95755eb09e Remove all project bucket related code 2016-03-14 10:41:51 -07:00
Egor Kislitsyn
9f328ed130 fix EndpointDeployApiGateway action (#777) 2016-03-14 20:10:44 +07:00
Erik Erikson
e11ec38b2c Only set the accessKeyId/secretAccessKey/sessionToken when there is data to properly set them with.
If a profile prefix is supplied, use it non-contingently in all profile loading attempts, not as a separate profile.
2016-03-07 18:03:17 -08:00
Erik Erikson
3049b3a972 Change code generation of '*_PROFILE_[STAGE]' in Serverless artifacts to produce '*_[STAGE]_PROFILE' to align with prior changes.
Allow for a user supplied profile name prefix using the environment variable 'AWS_PROFILE_PREFIX' for use in loading credentials.

Ensure that profile names are lower case.
2016-03-04 22:12:07 -08:00
Erik Erikson
307a1c008b Add missing underscores between the prefix and stage so that the result will be something like:
PREFIX_STAGE
rather than
    PREFIXSTAGE

Thank you @hauboldj
2016-03-04 20:53:51 -08:00
Erik Erikson
f9ece6e58c Merge remote-tracking branch 'upstream/v0.5' into v0.5-credential-loading-cleanup
# Conflicts:
#	lib/ProviderAws.js
2016-03-04 18:10:57 -08:00
Erik Erikson
b88dc0a91e Make the logic of credential extraction from the configuration, environment (raw), or environment (via profile) very explicit and clear. Use built in clases as appropriate. (actually, we're not doing that for loading the ~/.aws/credentials file [via http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SharedIniFileCredentials.html] but maybe we should - going for minimum change)
Maintain optionality (but support for) session tokens.

Cover all possible environment prefixes consistently.
2016-03-04 17:45:59 -08:00
ac360
b20180eb41 FunctionCreate: fix to show even/endpoint select if path is specified, Templates: fix comment in handler.js 2016-03-03 09:59:44 -08:00
ac360
086aafd10f StageCreate: set env var after writing to admin.env 2016-03-03 09:44:46 -08:00
Austen Collins
8b4a24a81d ProviderAws: remove undefiend variable 2016-03-02 11:00:34 -08:00
ac360
7926b326f1 remove unnecessary console.logs 2016-03-02 08:50:28 -08:00
ac360
3e42fbe4a6 AwsProvider: add credentails format fix 2016-03-02 08:48:28 -08:00
ac360
99f95d6e53 ProviderAws: minor fixes 2016-03-01 21:43:10 -08:00
ac360
241f70ed37 Remove old utils 2016-03-01 16:02:28 -08:00
ac360
4e57f0ff8b Extend templates in toObjectPopulate() methods, Classes take config again, test fixes 2016-03-01 13:30:52 -08:00
Eslam A. Hefnawy
ba248d371e more aggressive testing of projectInit and its sub actions 2016-02-26 00:00:17 +07:00
Eslam A. Hefnawy
40423b3b97 ProjectInit is now working 2016-02-25 17:34:22 +07:00
ac360
4ee4b626eb RegionCreate: continue fixing WIP 2016-02-23 20:22:11 -08:00
Austen Collins
cb9113c969 ProviderAws: fix credentails saving 2016-02-23 14:51:40 -08:00
ac360
d27aa15f0c ProjectInit: continue work WIP 2016-02-22 22:58:53 -08:00
ac360
c1f5b0aa54 ProviderAws: add saveCredentials method() 2016-02-22 20:10:51 -08:00
ac360
7939980be6 ProjectInit: continue refactor 2016-02-22 20:04:39 -08:00
ac360
f10d2d80f1 ProjectInit: start fixing 2016-02-22 17:17:17 -08:00
Kamil Burzynski
15401f277f Typo bugfix 2016-02-18 14:32:02 +01:00
Kamil Burzynski
972a9546fe Merge branch 'local' into v0.5
Conflicts:
	lib/ProviderAws.js
2016-02-18 14:21:15 +01:00
Egor Kislitsyn
eeb8505b3e fix ProviderAws 2016-02-18 18:51:55 +07:00
ac360
7498e843a5 Classes: remove serverless prefix WIP 2016-02-17 11:17:39 -08:00