-
-
Notifications
You must be signed in to change notification settings - Fork 982
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
oraclecloud is using only default realm OC1 for all requests #2154
Comments
Hello, can you provide more information about your configuration?
It feels like a local DNS problem: the DNS at
This is not an env var supported by lego or the Oracle API client, then I'm not sure to understand. Also, the error message, that you provided, is not complete, some important parts are missing. |
This is my definition of acme_certificate resource:
OCI terraform resources work properly - doing api calls in |
Hi Ludovic,
I updated a thread on github.
Regarding your comment:
It feels like a local DNS problem: the DNS at 169.254.169.254:53 doesn't have information about dns.REGION.oraclecloud.com.
I think it's not related to lego.
Problem is that dns at 169.254.169.254 see dns.REGION.oraclecloud10.com, and this is a proper call - but somehow lego calls oraclecloud.com domain which is wrong.
|
And I don't find anything about this env var inside the Oracle API client used by lego. Line 61 in 8623f0d
Currently, the realm is defined by the region. Oracle API client has changed their module versioning with v25, lego uses v24, and the latest version is v65. I will try to update the Oracle API client to v65. |
Region is related to realm domain - some regions use different domains,
ACME/lego uses `oraclecloud.com` which is wrong for my region
https://github.com/oracle/oci-go-sdk/blob/master/common/regions.json
|
As explained in my previous message lego uses v24 of the API client, so the client doesn't have the same elements as the |
Understand, thanks
|
Welcome
What did you expect to see?
oraclecloud provider is not working properly for different Oracle realms (like oc10) making calls to oraclecloud.com api (instead of using oraclecloud10.com). Tested with setting ORACLE_DEFAULT_REALM also.
What did you see instead?
How do you use lego?
Through Terraform ACME provider
Reproduction steps
Fails during terraform apply
Version of lego
4.16.1
Logs
terraform output only
Go environment (if applicable)
The text was updated successfully, but these errors were encountered: