Skip to content

Managed S3 Bucket via optional bootstrap command#1526

Merged
sriram-mv merged 8 commits intoaws:release-v0.32.0from
awood45:managed-s3-bucket
Nov 15, 2019
Merged

Managed S3 Bucket via optional bootstrap command#1526
sriram-mv merged 8 commits intoaws:release-v0.32.0from
awood45:managed-s3-bucket

Conversation

@awood45
Copy link
Contributor

@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.
@awood45 awood45 requested a review from sriram-mv November 13, 2019 18:28
@sriram-mv sriram-mv changed the base branch from develop to release-v0.32.0 November 13, 2019 19:05
@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
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