Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added example for configuring a custom region #2345

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions content/rke/latest/en/config-options/cloud-providers/aws/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,31 @@ If you share resources between clusters, you can change the tag to:
```
Key=kubernetes.io/cluster/CLUSTERID, Value=shared
```

## Configuration for a Custom Region

To use a custom region and override the service settings, the following configuration can be used:

```yaml
cloud_provider:
name: aws
awsCloudProvider:
service_override:
"ec2_us-west-2":
url: https://ec2.us-west-2.example.com/
signing-region: custom-signing-region
service: ec2
region: example-us-west-2
service_override:
"iam_us-west-2":
url: https://iam.us-west-2.example.com/
signing-region: custom-signing-region
service: iam
region: example-us-west-2
service_override:
"sts_us-west-2":
url: https://sts.us-west-2.example.com/
signing-region: custom-signing-region
service: sts
region: example-us-west-2
```