docs icon indicating copy to clipboard operation
docs copied to clipboard

Added example for configuring a custom region

Open dnoland1 opened this issue 5 years ago • 4 comments

dnoland1 avatar Mar 13 '20 01:03 dnoland1

I've been struggling to get the awsCloudProvider override working:

cloud_provider:
   name: aws
   awsCloudProvider:
     service_override:
       "ec2_ap-southeast-2":
         url: https://ec2.ap-southeast-2.amazonaws.com/
         signing-region: custom-signing-region
         service: ec2
         region: ap-southeast-2

results in:

rke up                                                                                                                                                 1
INFO[0000] Running RKE version: v1.0.4
INFO[0000] Initiating Kubernetes cluster
FATA[0000] Failed to register cloud provider: Failed to parse cloud config file: Failed to parse AWS cloud config

Whereas this works:

cloud_provider:
  name: aws
  customCloudProvider: |-
    [serviceoverride "ap-southeast-2"]
    URL = https://ec2.ap-southeast-2.amazonaws.com/
    SigningRegion = custom-signing-region
    Service = ec2
    Region = ap-southeast-2

@dkeightley - any ideas?

ryanelliottsmith avatar Mar 14 '20 23:03 ryanelliottsmith

This is what I had experienced earlier as well, let's open an issue to track this. We should hold off merging this until we can verify the example succeeds.

dkeightley avatar Mar 14 '20 23:03 dkeightley

https://github.com/rancher/rke/issues/1969

ryanelliottsmith avatar Mar 14 '20 23:03 ryanelliottsmith

Do we know yet if this example can be merged?

catherineluse avatar Dec 23 '20 22:12 catherineluse