Skip to content

Conversation

@sriram-mv
Copy link
Contributor

  • s3 bucket is created is appropriate permissions and exposed via
    environment variable.
  • serverlessrepo.amazonaws.com has access to the static s3 bucket.

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.

- s3 bucket is created is appropriate permissions and exposed via
  environment variable.
- serverlessrepo.amazonaws.com has access to the static s3 bucket.
cls.kms_key = os.environ.get("AWS_KMS_KEY")
# Use a pre-created S3 Bucket
cls.s3_bucket = s3.Bucket(cls.bucket_name)
cls.s3_bucket.create()
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to still do this as a fallback if AWS_S3 is not set? Thinking it is good for local where devs do not need to have additional things preconfigured

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, valid concern.

@sriram-mv sriram-mv merged commit f2e66d8 into aws:develop Nov 23, 2019
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.

2 participants