Feature request: auto create aws bucket
See original GitHub issueGiven:
@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 regionus-west-2
continue - If the bucket
somename
exists and is not in regionus-west-2
fail with a handy message saying that thebucket
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:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Released as
6.1
!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!