I have not used Sendgrid since more than one year. I don't have any ways to test modifications to the provider.
Terraform Provider for Sendgrid
To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.
$ make buildIn order to test the provider, you can simply run make test.
$ make testIn order to run the full suite of Acceptance tests, run make testacc.
$ make testaccThe documentation is created thank's to a fork of https://github.com/terraform-providers/terraform-provider-baiducloud/tree/master/gendocs.
The API KEY API is not completely documented: when you don't set scopes, you get all scopes. This is managed by the provider.
When you set one or multiple scopes, even if you don't set the scopes sender_verification_eligible and 2fa_required, you will get them in the end. It's managed by the provider: if you don't add these scopes to the list of scopes, the provider does it for you.
Thanks @yinzara for the latest changes that I loosely copied.