这是indexloc提供的服务,不要输入任何密码
Skip to content

Add a doc message about sensitive environment variables policies #184

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

Merged
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/resources/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Required:
Optional:

- `git_branch` (String) The git branch of the Environment Variable.
- `sensitive` (Boolean) Whether the Environment Variable is sensitive or not.
- `sensitive` (Boolean) Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))

Read-Only:

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/project_environment_variable.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ resource "vercel_project_environment_variable" "example_sensitive" {
### Optional

- `git_branch` (String) The git branch of the Environment Variable.
- `sensitive` (Boolean) Whether the Environment Variable is sensitive or not.
- `sensitive` (Boolean) Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
- `team_id` (String) The ID of the Vercel team.Required when configuring a team resource if a default team has not been set in the provider.

### Read-Only
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/shared_environment_variable.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ resource "vercel_shared_environment_variable" "example" {

### Optional

- `sensitive` (Boolean) Whether the Environment Variable is sensitive or not.
- `sensitive` (Boolean) Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
- `team_id` (String) The ID of the Vercel team. Shared environment variables require a team.

### Read-Only
Expand Down
2 changes: 1 addition & 1 deletion vercel/resource_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ At this time you cannot use a Vercel Project resource with in-line ` + "`environ
Computed: true,
},
"sensitive": schema.BoolAttribute{
Description: "Whether the Environment Variable is sensitive or not.",
Description: "Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))",
Optional: true,
Computed: true,
},
Expand Down
2 changes: 1 addition & 1 deletion vercel/resource_project_environment_variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ At this time you cannot use a Vercel Project resource with in-line ` + "`environ
Computed: true,
},
"sensitive": schema.BoolAttribute{
Description: "Whether the Environment Variable is sensitive or not.",
Description: "Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))",
Optional: true,
Computed: true,
PlanModifiers: []planmodifier.Bool{boolplanmodifier.RequiresReplace()},
Expand Down
2 changes: 1 addition & 1 deletion vercel/resource_shared_environment_variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ For more detailed information, please see the [Vercel documentation](https://ver
Computed: true,
},
"sensitive": schema.BoolAttribute{
Description: "Whether the Environment Variable is sensitive or not.",
Description: "Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))",
Optional: true,
Computed: true,
PlanModifiers: []planmodifier.Bool{boolplanmodifier.RequiresReplace()},
Expand Down