Skip to content

Commit

Permalink
Start adding project environment variables resource
Browse files Browse the repository at this point in the history
  • Loading branch information
dglsparsons committed Nov 5, 2024
1 parent 9966e1a commit 551f0f4
Show file tree
Hide file tree
Showing 3 changed files with 458 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vercel/resource_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ A Project groups deployments and custom domains. To deploy on Vercel, you need t
For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
~> Terraform currently provides both a standalone Project Environment Variable resource (a single Environment Variable), and a Project resource with Environment Variables defined in-line via the ` + "`environment` field" + `.
At this time you cannot use a Vercel Project resource with in-line ` + "`environment` in conjunction with any `vercel_project_environment_variable`" + ` resources. Doing so will cause a conflict of settings and will overwrite Environment Variables.
~> Terraform currently provides a standalone Project Environment Variable resource (a single Environment Variable), a Project Environment Variables resource (multiple Environment Variables), and this Project resource with Environment Variables defined in-line via the ` + "`environment` field" + `.
At this time you cannot use a Vercel Project resource with in-line ` + "`environment` in conjunction with any `vercel_project_environment_variables` or `vercel_project_environment_variable`" + ` resources. Doing so will cause a conflict of settings and will overwrite Environment Variables.
`,
Attributes: map[string]schema.Attribute{
"team_id": schema.StringAttribute{
Expand Down
4 changes: 2 additions & 2 deletions vercel/resource_project_environment_variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ A Project Environment Variable resource defines an Environment Variable on a Ver
For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables).
~> Terraform currently provides both a standalone Project Environment Variable resource (a single Environment Variable), and a Project resource with Environment Variables defined in-line via the ` + "`environment` field" + `.
At this time you cannot use a Vercel Project resource with in-line ` + "`environment` in conjunction with any `vercel_project_environment_variable`" + ` resources. Doing so will cause a conflict of settings and will overwrite Environment Variables.
~> Terraform currently provides this Project Environment Variable resource (a single Environment Variable), a Project Environment Variables resource (multiple Environment Variables), and a Project resource with Environment Variables defined in-line via the ` + "`environment` field" + `.
At this time you cannot use a Vercel Project resource with in-line ` + "`environment` in conjunction with any `vercel_project_environment_variables` or `vercel_project_environment_variable`" + ` resources. Doing so will cause a conflict of settings and will overwrite Environment Variables.
`,
Attributes: map[string]schema.Attribute{
"target": schema.SetAttribute{
Expand Down
Loading

0 comments on commit 551f0f4

Please sign in to comment.