fix-6720-protected-environments-preserve-group_inheritance_type=0

Why?

A fix for #6720

The 0 value for group_inheritance_type was being treated as null and causing the provider to fail.

How has it been tested?

Ran Gitlab locally and ran CE and EE tests against it.

Ran make build and configured my ~/.terraformrc to use the newly built provider. Plan and apply ran successfully. Verified the existing 18.6.2 provider fails for the same resource creation.

Added additional test to validate group_inheritance_type = 0 test case.

Edited by Matt Byrne

Merge request reports

Loading