From 4a5416b9a5748906dd16653cbacf4647a74596c7 Mon Sep 17 00:00:00 2001 From: David Noland Date: Thu, 12 Mar 2020 18:49:07 -0700 Subject: [PATCH] Added example for configuration a custom region --- .../cloud-providers/aws/_index.md | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/content/rke/latest/en/config-options/cloud-providers/aws/_index.md b/content/rke/latest/en/config-options/cloud-providers/aws/_index.md index c580991232..9417dfe3a7 100644 --- a/content/rke/latest/en/config-options/cloud-providers/aws/_index.md +++ b/content/rke/latest/en/config-options/cloud-providers/aws/_index.md @@ -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 +```