-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hello,
We would like to use our private Gitlab as endpoint for terraform modules.
Here is my trial :
spec:
forProvider:
source: Remote
module: "git::https://gitlab.private.example.com/gitlab/terraform/registry/terraform-aws-s3-bucket.git?ref=v5.8.2"
vars:
- key: bucket
value: "xxx-patched-xxx"
- key: force_destroy
value: "true"What problem are you facing?
The provider-opentofu is not able to reach the private Gitlab endpoint because of the following SSL error :
Warning CannotConnectToProvider 10s (x23 over 39h) managed/workspace.opentofu.m.upbound.io cannot get remote tofu module: error downloading 'https://gitlab.private.example.com/gitlab/terraform/registry/terraform-aws-s3-bucket.git?ref=v5.8.2': /usr/bin/git exited with 128: fatal: unable to access 'https://gitlab.private.example.com/gitlab/terraform/registry/terraform-aws-s3-bucket.git/': SSL certificate problem: self-signed certificate in certificate chain
By the way, there is no official documentation about the usage of a private Gitlab endpoint.
How could Upbound help solve your problem?
It could be nice to have an official documentation explaining :
- how to configure credentials when using private Gitlab endpoint
- how to add CA certificate in the provider-opentofu docker image
- how to set environment variables in the opentofu pod for example to set
GIT_SSL_NO_VERIFYor any other useful config - how to create my own docker image based on
xpkg.upbound.io/upbound/provider-opentofu:v1
Thanks a lot !
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request