-
Notifications
You must be signed in to change notification settings - Fork 319
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
resource/gitlab_project: Fix passing false
to API for explicitly set optional attributes
#1152
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timofurrer - So I ran a quick test, and I verified that this did fix the issue (which logically it would), but it feels like we should have at least one test with some of the "false default" values running to make sure the fix works. Thoughts?
3b669b7
to
0bca00d
Compare
@PatrickRice-KSC absolutely. I've just added a test case, but didn't use |
…t optional attributes
Closes: #1151
…tional attributes
Closes: #1154
0bca00d
to
62e7313
Compare
@PatrickRice-KSC note that I've also added the fixes for the group resource as described in #1154. |
Makes complete sense, that'd be a ton of setup!
Excellent, nice to knock out a couple issues with one PR! @timofurrer - Looking good, I'll go ahead and merge it! 🚀 |
This functionality has been released in v3.16.0 of the Terraform GitLab Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue. Thank you! |
I think at one point we have to decide on a consistent strategy about how and when to set optional attributes for the API options ... I have a few ideas and I'll write them up in an issue.
Closes: #1151