rubrikinc / terraform-provider-polaris

Terraform provider for the Polaris platform
MIT License
2 stars 9 forks source link

The credentials variable for the provider doesn't recognize relative paths. #94

Open DamaniN opened 8 months ago

DamaniN commented 8 months ago

Expected Behavior

If I specify the relative path to a credentials file, the provider would find and use that file. For example, if I set the credentials variable to ./creds.json the provider would find the creds.json file in the same path as where Terraform is running and use that.

Current Behavior

Setting the credentials variable with a relative path results in the provider looking for the default ~/.rubrik/polaris-accounts.json file. An error message is generated saying that the provider can't find this default credentials file.

Failure Information (for bugs)

None, see description.

Steps to Reproduce

See description.

Context

Failure Logs

None