Closed rporres closed 6 years ago
The problem is in https://github.com/src-d/terraform-provider-online-net/blob/master/provider/provider.go#L24 as it is setting the token to "" and it is not detected as missing. It should be something like:
""
DefaultFunc: schema.EnvDefaultFunc(TokenEnvVar, nil),
Hi, I can take care of this
Great! Thx, @denwwer. You will need to take care of the unit tests which will break once you set the default value to nil
nil
Fixed in #35
The problem is in https://github.com/src-d/terraform-provider-online-net/blob/master/provider/provider.go#L24 as it is setting the token to
""
and it is not detected as missing. It should be something like: