Skip to content

S3 Bucket creation #5

@mschwieger

Description

@mschwieger

The bucket creation with this script only works in AWS Region "us-east-1". All other AWS regions need the option --create-bucket-configuration LocationConstraint="$AWSREGIONID".

So it would have to be:
"$AWS" s3api create-bucket --acl private --bucket "$BUCKET" --region "$AWSREGIONID" --create-bucket-configuration LocationConstraint="$AWSREGIONID" --profile munki-in-a-cloud

However this does not seem to work with the "us-east-1" region.

AWS - s3api - create-bucket

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions