Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managed S3 Bucket via optional bootstrap command #1526

Merged
merged 8 commits into from
Nov 15, 2019

Conversation

awood45
Copy link
Member

@awood45 awood45 commented Nov 13, 2019

Provides logic for creating or reading from a managed CloudFormation stack which contains an S3 bucket.

This is a WIP in that it should be integrated with ongoing config work, it is not ready to merge until it is tied in to seeding such a config file with the retrieved bucket name. Please do feel free to use a different branch as the base.

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

Missing: Integration with config files. We may also want to move some of
the echo commands to debug logging.
samcli/cli/command.py Outdated Show resolved Hide resolved
@sriram-mv sriram-mv changed the base branch from develop to release-v0.32.0 November 13, 2019 19:05
designs/sam_setup_cmd.md Show resolved Hide resolved
samcli/commands/setup/command.py Outdated Show resolved Hide resolved
samcli/commands/setup/command.py Outdated Show resolved Hide resolved
@jfuss jfuss added the type/feature Feature request label Nov 14, 2019
@sanathkr sanathkr changed the title sam setup command: Managed S3 Bucket sam bootstrap command: Managed S3 Bucket Nov 15, 2019
@sanathkr sanathkr changed the title sam bootstrap command: Managed S3 Bucket Managed S3 Bucket via optional bootstrap command Nov 15, 2019
designs/sam_setup_cmd.md Show resolved Hide resolved
LOG = logging.getLogger(__name__)
SAM_CLI_STACK_NAME = "aws-sam-cli-managed-stack"

MANAGED_STACK_DEFINITION = """
Copy link
Contributor

Choose a reason for hiding this comment

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

  • this lives in a separate file?
  • can we add the version number of sam cli with which this stack was created?
    Any other cheap metadata we can add today?

Copy link
Contributor

Choose a reason for hiding this comment

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

  • separate file: Yeah, the template is small. it's cheap to have it here. we will move out later
  • metadata: Good idea!

@sriram-mv sriram-mv self-requested a review November 15, 2019 06:59
@sriram-mv sriram-mv merged commit ac31eab into aws:release-v0.32.0 Nov 15, 2019
sriram-mv pushed a commit that referenced this pull request Nov 20, 2019
* WIP: Managed S3 Stack

* Managed S3 Bucket Command With Tests

Missing: Integration with config files. We may also want to move some of
the echo commands to debug logging.

* Setup Design Doc

* Setup Design Document

* Rename  to  and remove CLI interface

* Fix lint errors

* Adding metadata to stack

* fixing black formatting
sriram-mv pushed a commit that referenced this pull request Nov 23, 2019
* WIP: Managed S3 Stack

* Managed S3 Bucket Command With Tests

Missing: Integration with config files. We may also want to move some of
the echo commands to debug logging.

* Setup Design Doc

* Setup Design Document

* Rename  to  and remove CLI interface

* Fix lint errors

* Adding metadata to stack

* fixing black formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants