Skip to content

Conversation

@sriram-mv
Copy link
Contributor

  • providing non standard capabilities gives an appropriate error message
  • add s3 prefix to be the stack name during guided deploy

Issue #, if available:

Description of changes:

Checklist:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

- providing non standard capabilities gives an appropriate error message
- add s3 prefix to be the stack name during guided deploy
@sriram-mv sriram-mv requested a review from awood45 November 21, 2019 22:04
Comment on lines +138 to +139
-
!Ref SamCliSourceBucket
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks bit weird, should this be - !Ref SamCliSourceBucket?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it could also be !Sub "arn:aws:s3:::${SamCliSourceBucket}"

:return:
"""

default_stack_name = "sam-app"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit-pick: I am not sure if this is a convention we are following but at few places I have seen constants to be in all CAPS like: DEFAULT_STACK_NAME.

"--stack-name",
required=True,
required=False,
callback=guided_deploy_stack_name,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Should roll this into init too sometime, possibly.

Comment on lines +138 to +139
-
!Ref SamCliSourceBucket
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it could also be !Sub "arn:aws:s3:::${SamCliSourceBucket}"

@sriram-mv sriram-mv merged commit 4c95eff into aws:release-v0.32.0 Nov 22, 2019
sriram-mv added a commit that referenced this pull request Nov 23, 2019
* bugfixes: `stack-name` is required on deploy

- providing non standard capabilities gives an appropriate error message
- add s3 prefix to be the stack name during guided deploy

* fix: help text on parameter overrides

* fix: add `serverlessrepo` access to managed stack

* fix: address comments

* fix: usability fixes

* fix: parameter defaults are casted to string

* fix: unit tests on bootstrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants