v1.0.0
This release is a major rewrite of the provider. The provider now uses the Terraform Plugin Framework instead of the older Plugin SDK.
Please make sure you have a backup of your state file before upgrading and see the Upgrade Guide for a list of breaking changes and how to deal with them.
New Features
- Complete Management of Google Drive Labels
gdrive_label
- Manage Google Drive Labels- Resources for all current Field types
gdrive_label_date_field
- Manage Date Fieldsgdrive_label_integer_field
- Manage Integer Fieldsgdrive_label_selection_field
- Manage Selection Fieldsgdrive_label_selection_choice
- Manage Choices for Selection Fieldsgdrive_label_text_field
- Manage Text Fieldsgdrive_label_user_field
- Manage User Fields
- Manage the publishing state of each resource (Label, Field and Choice) with the
life_cycle
property gdrive_label_permissions
for granting permissions to Labels
- Simplified configuration
- Use
scopes
property for provider configuration that is automatically set to all necessary scopes when not specified.
- Use
- Automatically retry on 404 and 502 errors
- Simplified syntax for multiple blocks in
gdrive_label_assignment
,gdrive_label_policy
andgdrive_permission_policy
- Resource-specific ID attributes for every block (e.g.,
permission_id
ingdrive_permission_policy
)
Bug Fixes
- Fix setting the MIME type of a file without content
- Fix
gdrive_permission_policy
not removing some permissions that weren't specified in the Terraform config. The resource now consistently ignores all inherited permissions during read and diff.
Misc
- Update dependencies, Go version and CI/CD actions
- Implement test cases for resources and data sources
- Update documentation
Full Changelog: v0.9.1...v1.0.0