mirror of https://github.com/kubernetes/kops.git
Other regions require LocationConstraint
When not in the us-east-1 region the LocationConstraint configuration is required for the s3api.
This commit is contained in:
parent
26e1cb06bf
commit
f3feeb5062
|
|
@ -257,9 +257,13 @@ We recommend keeping the creation of this bucket confined to us-east-1,
|
|||
otherwise more work will be required.
|
||||
|
||||
```bash
|
||||
aws s3api create-bucket --bucket prefix-example-com-state-store --region us-east-1
|
||||
aws s3api create-bucket \
|
||||
--bucket prefix-example-com-state-store \
|
||||
--region us-east-1
|
||||
```
|
||||
|
||||
Note: S3 requires `--create-bucket-configuration LocationConstraint=<region>` for regions other than `us-east-1`.
|
||||
|
||||
Note: We **STRONGLY** recommend versioning your S3 bucket in case you ever need
|
||||
to revert or recover a previous state store.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue