Skip to content

Commit 514398e

Browse files
author
AncaGhenade
committed
- add readme
- small fixes
1 parent 3813bac commit 514398e

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

README.md

Whitespace-only changes.

app_diagram.png

129 KB
Loading

scripts/new-bucket.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
#!/bin/bash
22

33
# For demo purpose only;
4-
# Access key and secret key are set and using `aws configure`
4+
# Access key and secret key are set by using `aws configure`
55
# to manage the aws cli on your local machine
66

77
# Set the name of the S3 bucket
88
bucket_name="shipment-list-demo-bucket"
99
aws_region="eu-central-1"
1010

11-
# Create the S3 bucket
12-
aws s3 mb s3://$bucket_name
13-
14-
# Set the region for the S3 bucket
15-
aws s3api create-bucket --bucket $bucket_name --region $aws_region
11+
# Create the S3 bucket and set the region
12+
aws s3api create-bucket --bucket $bucket_name --region eu-central-1 \
13+
--create-bucket-configuration LocationConstraint=eu-central-1
1614

1715
# Set the bucket policy
18-
aws s3api put-bucket-acl --bucket $bucket_name --acl private
16+
aws s3api put-bucket-acl --bucket $bucket_name --acl private

src/main/resources/placeholder.jpg

40.8 KB
Loading

0 commit comments

Comments
 (0)