question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: auto create aws bucket

See original GitHub issue

Given:

@aws
region us-west-2
profile default
runtime nodejs10.x
bucket somename

arc deploy should:

  • Check that bucket somename exists
  • If bucket somename does not exist, arc should create it in region
  • If bucket somename exists and is in region us-west-2 continue
  • If the bucket somename exists and is not in region us-west-2 fail with a handy message saying that the bucket used for deploy must be in the same region.

Why this would be useful

It’s come up a few times in Slack. Also arc deploy, if the bucket doesn’t exist, will show a message from aws saying to make the bucket using the command aws s3 mb s3://someapp but nearly all users will need aws s3 mb s3://someapp --region us-west-2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanblockcommented, Jan 21, 2020

Released as 6.1!

1reaction
ryanblockcommented, Oct 14, 2019

After discussing further internally, we think this could be made much more viable by auto-creating the bucket and setting/getting the bucket value from SSM (which is where we store the rest of Architect’s app metadata, such as env vars).

I’m not sure when we’ll get to this, but hopefully it’ll be significantly before AWS straight up fixes this issue for CloudFormation once and for all!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Step 1: Create your first S3 bucket - AWS Documentation
Create an Amazon S3 bucket so you can store data objects. ... and the bucket owner automatically owns and has full control over...
Read more >
Creating a bucket - Amazon Simple Storage Service
Send a create bucket request by specifying only a bucket name — The client sends a request to Amazon S3 to create the...
Read more >
Create an Amazon S3 bucket using an AWS SDK
The following code examples show how to create an S3 bucket. ... PutBucketAsync(request); return response. ... IsSuccess()) { auto err = outcome.
Read more >
Creating and Using Amazon S3 Buckets - AWS SDK for ...
Create a variable with the parameters needed to call the upload method of the Amazon S3 service object. Provide the name of the...
Read more >
Amazon S3 bucket compliance using AWS Config Auto ...
The AWS Config Auto Remediation feature automatically remediates non-compliant resources evaluated by AWS Config rules. You can associate ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found