Closed espadolini closed 1 year ago
@nklaassen I've assigned you just because this problem only seems to appear for LoginRule
, but the code does a shallow copy by dereference for all protobuf messages, which I believe is not really correct - and passing protobuf messages by value is a pretty big smell to begin with.
I'm not sure if this problem is more widespread than
go vet
can detect, or if thegogoproto
-generated types are just more resilient to this, but this is the output ofgo vet ./terraform/...
from go 1.20.4 on the current tip of master (e4b2e509c5554b93e506cb3639a27071d11a3e49):