Plugin only works using env variables
aledbf opened this issue · comments
Creating a new provider returns an error
_, err = grafana_client.NewProvider(ctx, "grafana-provider", &grafana_client.ProviderArgs{
Auth: pulumi.String("something"),
Url: pulumi.String("https://web.url"),
})
error: could not validate provider configuration: 1 error occurred:
* Missing required argument: "auth": one of `auth,cloud_api_key,oncall_access_token,sm_access_token` must be specified
Maybe I am doing something wrong?
Any advice?
Thanks!
(I tried v0.0.7 and v0.0.8)
#85 adds an example that shows this is no longer the case