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
OS and version: Mac, Big Sur but also tried Linux Ubuntu 20
Go version: 1.17 but also tried 1.15
Terraform version (if using directly): 1.0.6 (I did an upgrade on my fork - terraform seems fine, this is a Golang-related error)
Describe the bug
Linter is complaining about several types tied to "github.com/Optum/dce/pkg/awsiface/mocks". Here is a sample error:
var mockIAM *mocks.IAM
cannot use mockIAM (variable of type *mocks.IAM) as awsiface.IAM value in struct literal: missing method ListInstanceProfileTags
Here is another one:
var mockCwe *awsMocks.CloudWatchEventsAPI
cannot use mockCwe (variable of type *"github.com/Optum/dce/pkg/awsiface/mocks".CloudWatchEventsAPI) as cloudwatcheventsiface.CloudWatchEventsAPI value in struct literal: missing method CreateApiDestination
The same error pops up To Reproduce
Expected behavior
No linter errors
Additional context
The text was updated successfully, but these errors were encountered:
I could be wrong but it seems that this requires that the latest version of mockery be re-run with the latest version against some interface types that AWS has updated in their SDK
Version information
Describe the bug
Linter is complaining about several types tied to "github.com/Optum/dce/pkg/awsiface/mocks". Here is a sample error:
Here is another one:
The same error pops up
To Reproduce
Expected behavior
No linter errors
Additional context
The text was updated successfully, but these errors were encountered: