I have a question about the aws-cloud-provider in ...
# general
a
I have a question about the aws-cloud-provider in an airgapped environment. We've been running Rancher and RKE2 with the aws out of tree cloud provider in our air-gapped environment just fine. We're having to move to another air-gapped instance of AWS so I'm deploying there now. The cloud provider is erroring with
Copy code
Cloud provider could not be initialized: could not init cloud provider "aws": errror finding instance <id>: "error listing AWS instances: ... Post "<https://ec2>.<region>.<http://amazonaws.com|amazonaws.com>" lookup ec2.<region>.<http://amazonaws.com|amazonaws.com> no such host
I suspect in the previous environment routing was configured for the amazonaws.com domain, but it is not here (I don't have control over that). Is this configurable? On all of the hosts in my
/etc/rancher/rke2/cloud.conf
file I have something like
Copy code
[Global]
  Service=ec2
  Region=<region>
  URL=<https://ec2>.<region>.our.domain
  SigningRegion=<region>
Is there another arg I can add to the aws-cloud-controller-manager values section in my cluster config?
Figured this out. If you don't specify an image tag for the cloud-controller-manager it installs 1.27 by default, which doesn't work with my RKE2 1.32 cluster in a new AWS partition. It would be very helpful if that were in the docs