You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/data-sources/project.md
+1
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ data "vercel_project" "example" {
54
54
-`id` (String) The ID of this resource.
55
55
-`ignore_command` (String) When a commit is pushed to the Git repository that is connected with your Project, its SHA will determine if a new Build has to be issued. If the SHA was deployed before, no new Build will be issued. You can customize this behavior with a command that exits with code 1 (new Build needed) or code 0.
56
56
-`install_command` (String) The install command for this project. If omitted, this value will be automatically detected.
57
+
-`node_version` (String) The version of Node.js that is used in the Build Step and for Serverless Functions.
57
58
-`oidc_token_config` (Attributes) Configuration for OpenID Connect (OIDC) tokens. (see [below for nested schema](#nestedatt--oidc_token_config))
58
59
-`options_allowlist` (Attributes) Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths. (see [below for nested schema](#nestedatt--options_allowlist))
59
60
-`output_directory` (String) The output directory of the project. When null is used this value will be automatically detected.
-`git_repository` (Attributes) The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed. This requires the corresponding Vercel for [Github](https://vercel.com/docs/concepts/git/vercel-for-github), [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed. (see [below for nested schema](#nestedatt--git_repository))
72
72
-`ignore_command` (String) When a commit is pushed to the Git repository that is connected with your Project, its SHA will determine if a new Build has to be issued. If the SHA was deployed before, no new Build will be issued. You can customize this behavior with a command that exits with code 1 (new Build needed) or code 0.
73
73
-`install_command` (String) The install command for this project. If omitted, this value will be automatically detected.
74
+
-`node_version` (String) The version of Node.js that is used in the Build Step and for Serverless Functions. A new Deployment is required for your changes to take effect.
74
75
-`oidc_token_config` (Attributes) Configuration for OpenID Connect (OIDC) tokens. (see [below for nested schema](#nestedatt--oidc_token_config))
75
76
-`options_allowlist` (Attributes) Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths. (see [below for nested schema](#nestedatt--options_allowlist))
76
77
-`output_directory` (String) The output directory of the project. If omitted, this value will be automatically detected.
Copy file name to clipboardexpand all lines: vercel/data_source_project.go
+6
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,10 @@ For more detailed information, please see the [Vercel documentation](https://ver
94
94
Computed: true,
95
95
Description: "The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.",
96
96
},
97
+
"node_version": schema.StringAttribute{
98
+
Computed: true,
99
+
Description: "The version of Node.js that is used in the Build Step and for Serverless Functions.",
100
+
},
97
101
"environment": schema.SetNestedAttribute{
98
102
Description: "A list of environment variables that should be configured for the project.",
99
103
Computed: true,
@@ -411,6 +415,7 @@ type ProjectDataSource struct {
Description: "The version of Node.js that is used in the Build Step and for Serverless Functions. A new Deployment is required for your changes to take effect.",
133
+
},
121
134
"environment": schema.SetNestedAttribute{
122
135
Description: "A set of Environment Variables that should be configured for the project.",
0 commit comments