4240 Commits

Author SHA1 Message Date
Austen Collins
4e58c770c0 new project: refactor for new bucket organization. Change CFcreateresources to use TemplateBody, not S3 2015-09-28 14:24:30 -07:00
Austen Collins
81382c1eb4 resources: add s3 project bucket 2015-09-28 14:23:32 -07:00
doapp-ryanp
10dc271c9b bugfig 2015-09-28 15:51:33 -05:00
doapp-ryanp
7b0848035f remove front dir 2015-09-28 14:31:48 -05:00
doapp-ryanp
8a3d982abd remove back dir 2015-09-28 14:30:39 -05:00
doapp-ryanp
3aaeb85adf remove select key 2015-09-28 08:32:29 -05:00
Kamil Burzynski
4199c88b6d Fixed stage selector during lambda deploy 2015-09-28 14:22:51 +02:00
Ryan Pendergast
f60564f695 Merge pull request #170 from shortjared/tag-all-behavior-clarity
Explicit defining of tag type required, "all" is now "both"
2015-09-27 23:03:46 -05:00
doapp-ryanp
775dacc3ea Merge branch 'master' of github.com:jaws-framework/JAWS 2015-09-27 22:51:35 -05:00
doapp-ryanp
ff13834ca7 aaDataModelStage change 2015-09-27 22:51:03 -05:00
Ryan Pendergast
00c23eb8ae Merge pull request #171 from shortjared/master
s/Modlue/Module/
2015-09-27 22:22:15 -05:00
Jared Short
792226c9ca s/Modlue/Module/ 2015-09-27 23:13:43 -04:00
Jared Short
36a26c95df Explicit defining of tag type required, "all" is now "both" 2015-09-27 21:33:29 -04:00
Austen Collins
a5e6ba2269 bucket reorganization: fix path 2015-09-27 18:14:15 -07:00
Austen Collins
a7fb6c4f72 minor fixes 2015-09-27 17:09:00 -07:00
Austen Collins
4edd651137 bucket reorganization: more refactoring of new command and new stage/region command 2015-09-27 16:50:20 -07:00
Jared Short
0f6758de00 Tag all can now tag all endpoints and lambdas in one command
A proposed solution to jaws-framework/JAWS#164.

Implements a new “all” type which allows a user to tag all Lambdas and
Endpoints in one command. It also makes this the default command when
running a bare `jaws tag --tag-all` or `jaws tag --untag-all` with no
type option.
2015-09-27 16:26:22 -04:00
Austen Collins
0ac1ae3ddc new stage region: start refactor, add interactive prompts for usability 2015-09-27 12:20:18 -07:00
Austen Collins
f5741141e9 new command: finish refactor 2015-09-26 19:59:15 -07:00
Austen Collins
bf46599160 new project: refactor for new bucket organization. Change CFcreateresources to use TemplateBody, not S3 2015-09-26 15:27:14 -07:00
Austen Collins
42904479de jaws: update 2015-09-26 13:12:07 -07:00
Austen Collins
3a4d4e4acd resources: add s3 project bucket 2015-09-26 12:36:31 -07:00
Austen
050374f4a5 Merge pull request #157 from joostfarla/regex
Allow custom selectionPattern attributes
2015-09-26 09:26:56 -07:00
Joost Farla
a900bffb97 Make Lambda permission stage-independent 2015-09-26 12:22:21 +02:00
doapp-ryanp
b52b338f20 remove es6 specific. start to refactor run 2015-09-25 15:57:02 -05:00
Aaron Boushley
77f264eaff Refactor jawsDebug to auto find context. 2015-09-25 10:06:14 -07:00
Joost Farla
890202914f Allow custom selectionPattern attributes 2015-09-25 13:38:49 +02:00
Aaron Boushley
c0b8076563 Convert logIfVerbose to jawsDebug. 2015-09-24 19:28:09 -07:00
Aaron Boushley
32e515184e Fix credentials file created with 'undefined'.
There were two problems here.

First we were calling `writeFile` with no
contents parameter which resulted in putting the string "undefined" into
the contents of the file.

Second we were calling `writeFile` which is asynchronous and not waiting
on the promise and proceeding as if it was synchronous.

Lastly this creates this hidden folder with restricted permissions since it
does contain credentials.
2015-09-24 19:23:05 -07:00
Aaron Boushley
07a58cba15 Don't show profile prompt when you have credentials.
This was throwing an error because the credentials file doesn't exist yet and we were calling `profilesMap()`.
2015-09-24 19:23:05 -07:00
doapp-ryanp
161c9fca6c env list shows all regions, highlights regions where var is not set 2015-09-24 20:56:50 -05:00
doapp-ryanp
bfde87fed5 whoh big bug in includepaths for optimize 2015-09-24 15:36:41 -05:00
doapp-ryanp
4e90c7909e Merge branch 'master' of github.com:jaws-framework/JAWS 2015-09-24 15:20:14 -05:00
doapp-ryanp
3442037a7e awsm install bugfixes. change env var JAWS_DATA_MODEL_PREFIX to JAWS_DATA_MODEL_STAGE 2015-09-24 15:20:09 -05:00
Austen Collins
5b6c426411 tests: fix new project test to use 'DomainName' resources parameter 2015-09-24 12:54:41 -07:00
Austen Collins
2a3efef9e2 resources: Change one of the JAWS standard params. aaHostedZone is now aaProjectDomain 2015-09-24 12:44:28 -07:00
Austen
072b3d86a8 Merge pull request #155 from jaws-framework/resources
Resources
2015-09-24 12:04:31 -07:00
Austen Collins
a2dce9c8be deploy resources: complete command 2015-09-24 12:03:21 -07:00
Austen Collins
54f4e5a6b6 deploy resources: start command 2015-09-24 08:19:03 -07:00
Jacob Evans
f86b55d770 Reworked the recursive search for cf.
My resources werent being updated as the readdirRecursiveAsync was only ever returning a top level stage direcotry and not descending correctly.
2015-09-24 10:36:14 +10:00
Austen Collins
5b5371b0af deploy endpoints: large change that swaps out how api-gateway gets permission to invoke lambdas.
Instead of specifying an IAM policy when creating the API Gateway method's integration, the individual lambda's access policy is
updated.  The reason for this is that the first method results in an extra ~500ms of latency.  Now, JAWS REST APIs should be much faster.
However, this might result in breaking changes (sorry).
2015-09-23 17:16:39 -07:00
Austen Collins
0c9599eafb deploy endpoints: revert back to old way until aws responds 2015-09-23 12:47:41 -07:00
Austen Collins
11a3461e56 deploy endpoints: fix duplicate resource bug 2015-09-23 08:55:42 -07:00
Dave Newman
0a33c1826f Add option to compile with babel 2015-09-22 20:45:15 -07:00
Ryan Pendergast
01e3e1edf3 Merge pull request #144 from boushley/silent-admin-dotenv
Don't show an error when loading admin.env...
2015-09-22 19:50:04 -05:00
Austen Collins
ccf37d9eeb deploy endpoint: fix response parameters which will enable CORS support 2015-09-22 15:53:29 -07:00
Aaron Boushley
d2fec16f17 Don't show an error when loading admin.env...
Well, don't show an error if we already have the environment variables we need.
2015-09-22 15:36:44 -07:00
Austen Collins
01d70005c1 deploy endpoint: debug 2015-09-22 15:08:18 -07:00
Austen Collins
05e9fe6399 fix conflict 2015-09-22 14:36:08 -07:00
Austen Collins
7d0ba14efe minor changes 2015-09-22 14:20:13 -07:00