Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: modify provider documentation for api_key and api_secret #748

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions env0/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ func Provider(version string) plugin.ProviderFunc {
},
"api_key": {
Type: schema.TypeString,
Description: "env0 API key. Instead of this field, it can also be set via the ENV0_API_KEY environment variable.",
Description: "env0 API key. This field can be removed from the provider block; instead of the field, you can set the value via the ENV0_API_KEY environment variable.",
DefaultFunc: schema.EnvDefaultFunc(apiKeyEnv, nil),
Optional: true,
Sensitive: true,
},
"api_secret": {
Type: schema.TypeString,
Description: "env0 API secret. Instead of this field, it can also be set via the ENV0_API_SECRET environment variable.",
Description: "env0 API secret. This field can be removed from the provider block; instead of the field, you can set the value via the ENV0_API_SECRET environment variable.",
DefaultFunc: schema.EnvDefaultFunc(apiSecretEnv, nil),
Optional: true,
Sensitive: true,
Expand Down
Loading