You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% go list -m github.com/hashicorp/terraform-plugin-testing/...
github.com/hashicorp/terraform-plugin-testing v1.5.1
Use cases
It would be handy to have a new TestCheck helper function that combines TestCheckResourceAttrWith and TestCheckResourceAttrPair, say TestCheckResourceAttrPairWith:
The canonical use case for the Terraform AWS Provider is to test logical equivalence (rather than byte-for-byte equivalence) of a data source's IAM policy document and a resource's IAM policy document.
The text was updated successfully, but these errors were encountered:
The proposed ValueComparer interface in #295 could be something that provides way to achieve the equivalent of TestCheckResourceAttrPairWith as a "custom" comparer could be supplied to a CompareValuePairs constructor. For example:
terraform-plugin-testing version
Use cases
It would be handy to have a new TestCheck helper function that combines
TestCheckResourceAttrWith
andTestCheckResourceAttrPair
, sayTestCheckResourceAttrPairWith
:The canonical use case for the Terraform AWS Provider is to test logical equivalence (rather than byte-for-byte equivalence) of a data source's IAM policy document and a resource's IAM policy document.
The text was updated successfully, but these errors were encountered: