ovh / terraform-provider-ovh

Terraform OVH provider
https://registry.terraform.io/providers/ovh/ovh/latest/docs
Mozilla Public License 2.0
182 stars 133 forks source link

[BUG] ovh_cloud_project_kube_oidc crashed #653

Closed Fencherr closed 3 months ago

Fencherr commented 3 months ago

Describe the bug

Hi when i try to add google oidc to managed kubernetes service via terragrunt I got error below

Terraform Version

Terraform v1.7.5 on linux_amd64

Affected Resource(s)

Please list the resources as a list, for example:

image

amstuta commented 3 months ago

Hello @Fencherr, could you provide us your TF plan so that we can reproduce your issue ?

Fencherr commented 3 months ago

Hi @amstuta when I plan didn't see any error but when i apply it is giving me error which shared

image

image

amstuta commented 3 months ago

Sorry, I didn't mean the output of your terraform plan output, but the content of your .tf file, so we can run the same thing on our side to reproduce the issue.

amstuta commented 3 months ago

@Fencherr I made the following PR that will avoid the panic: https://github.com/ovh/terraform-provider-ovh/pull/659. In the meantime, you should remove your empty required and 'group' claims since an empty string is not a valid value.