gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.62k stars 1.76k forks source link

claims_to_roles is not optional for the Terraform Provider resource oidc_connector #44577

Open pschisa opened 3 months ago

pschisa commented 3 months ago

Applies To

https://goteleport.com/docs/reference/terraform-provider/resources/oidc_connector/#nested-schema-for-spec https://github.com/gravitational/teleport/blob/master/docs/pages/reference/terraform-provider/resources/oidc_connector.mdx

Details

The claims_to_roles section is shown as option in the terraform provider reference documentation for the oidc connector. This field is not option as being left blank produces an error claims_to_roles is empty, authorization with connector would never assign any roles

How will we know this is resolved?

The reference documentation lists this option as required

ptgott commented 3 months ago

As explained in the discussion around #44584, this is an issue with the product. I am removing the documentation label until we remediate the product issue (which we can then document).