Skip to content

Commit 5bb8c9b

Browse files
committed
[add] - add iam commandline
1 parent 97f80da commit 5bb8c9b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

services/iam.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
# TODO LATER
4+
aws_iam_add_policy_to_role() {
5+
6+
}

services/s3.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,10 @@ aws_s3_get_s3_bucket_arn_with_hint() {
3838
# aws_run_commandline "${commandline}"
3939

4040
# }
41+
42+
aws_s3_create() {
43+
aws_s3_bucket_name=$1
44+
aws s3api create-bucket \
45+
--bucket ${aws_s3_bucket_name:?"aws_s3_bucket_name is unset or empty"} \
46+
--create-bucket-configuration LocationConstraint=${AWS_REGION}
47+
}

0 commit comments

Comments
 (0)