-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests and fix some additional issues (#4)
This PR adds acceptance tests for the `multirotate_set` resource and addresses several issues uncovered during testing. **Changes:** - Introduced acceptance tests using the `terraform-plugin-testing` framework to verify resource behavior in a real-world scenario. - Fixed an issue where the `LastRotate` attribute was not being properly initialized, leading to parsing errors. - Improved error messages for clearer troubleshooting. - Resolved a potential issue where state data was not being correctly restored on subsequent applies. - Updated dependencies in `go.mod` and `go.sum` to support the new testing framework and other improvements. These changes enhance the reliability and stability of the `multirotate_set` resource, providing greater confidence in its functionality. --------- Co-authored-by: no value <[email protected]>
- Loading branch information
Showing
7 changed files
with
179 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.