Creates an S3 bucket with the following optimizations:
Creates an S3 bucket with the following optimizations:
- Enables Versioning
- Enables Versioning
- Enables MFA Delete protection (only if your CLI is MFA authenticated)
- Enables Server Side Encryption
- Enables Server Side Encryption
- Creates Bucket Policy to lock out any given user/group/role ARNs (optional)
- Creates Bucket Policy to lock out any given user/group/role ARNs (optional)
Idempotent: skips bucket creation if already exists, applies versioning, encryption, MFA delete, and applies bucket policy if none exists of if\$OVERWRITE_BUCKET_POLICY is set to any value
Idempotent: skips bucket creation if already exists, applies versioning, encryption, and applies bucket policy if none exists of if\$OVERWRITE_BUCKET_POLICY is set to any value
Region: will create the bucket in your configured region, to override locally set\$AWS_DEFAULT_REGION
Region: will create the bucket in your configured region, to override locally set\$AWS_DEFAULT_REGION