Skip to content

rke config for aws service_override results in a parsing error #1969

@ryanelliottsmith

Description

@ryanelliottsmith

RKE version:
1.0.4
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
aws
cluster.yml file:

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
nodes:
  - address: xxx
    internal_address: xxx
    user: ubuntu
    role: [controlplane,worker,etcd]
services:
  etcd:
    snapshot: true
    creation: 6h
    retention: 24h

Steps to Reproduce:
run rke up on the example cluster above.

Results:

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions