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

team_id should not be computed #137

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 1 commit into from
Oct 24, 2023
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
1 change: 0 additions & 1 deletion vercel/data_source_alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ An Alias allows a ` + "`vercel_deployment` to be accessed through a different UR
Attributes: map[string]schema.Attribute{
"team_id": schema.StringAttribute{
Optional: true,
Computed: true,
Description: "The ID of the team the Alias and Deployment exist under. Required when configuring a team resource if a default team has not been set in the provider.",
},
"alias": schema.StringAttribute{
Expand Down
1 change: 0 additions & 1 deletion vercel/data_source_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ For more detailed information, please see the [Vercel documentation](https://ver
Attributes: map[string]schema.Attribute{
"team_id": schema.StringAttribute{
Optional: true,
Computed: true,
Description: "The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.",
},
"name": schema.StringAttribute{
Expand Down
1 change: 0 additions & 1 deletion vercel/resource_alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ An Alias allows a ` + "`vercel_deployment` to be accessed through a different UR
},
"team_id": schema.StringAttribute{
Optional: true,
Computed: true,
Description: "The ID of the team the Alias and Deployment exist under. Required when configuring a team resource if a default team has not been set in the provider.",
PlanModifiers: []planmodifier.String{stringplanmodifier.RequiresReplace()},
},
Expand Down
1 change: 0 additions & 1 deletion vercel/resource_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ terraform to your Deployment.
"team_id": schema.StringAttribute{
Description: "The team ID to add the deployment to. Required when configuring a team resource if a default team has not been set in the provider.",
Optional: true,
Computed: true,
PlanModifiers: []planmodifier.String{stringplanmodifier.RequiresReplace(), stringplanmodifier.UseStateForUnknown()},
},
"project_id": schema.StringAttribute{
Expand Down
1 change: 0 additions & 1 deletion vercel/resource_dns_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ For more detailed information, please see the [Vercel documentation](https://ver
},
"team_id": schema.StringAttribute{
Optional: true,
Computed: true,
Description: "The team ID that the domain and DNS records belong to. Required when configuring a team resource if a default team has not been set in the provider.",
PlanModifiers: []planmodifier.String{stringplanmodifier.RequiresReplace(), stringplanmodifier.UseStateForUnknown()},
},
Expand Down
1 change: 0 additions & 1 deletion vercel/resource_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ At this time you cannot use a Vercel Project resource with in-line ` + "`environ
Attributes: map[string]schema.Attribute{
"team_id": schema.StringAttribute{
Optional: true,
Computed: true,
PlanModifiers: []planmodifier.String{stringplanmodifier.RequiresReplace(), stringplanmodifier.UseStateForUnknown()},
Description: "The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.",
},
Expand Down
1 change: 0 additions & 1 deletion vercel/resource_project_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ By default, Project Domains will be automatically applied to any ` + "`productio
},
"team_id": schema.StringAttribute{
Optional: true,
Computed: true,
PlanModifiers: []planmodifier.String{stringplanmodifier.RequiresReplace(), stringplanmodifier.UseStateForUnknown()},
Description: "The ID of the team the project exists under. Required when configuring a team resource if a default team has not been set in the provider.",
},
Expand Down
1 change: 0 additions & 1 deletion vercel/resource_project_environment_variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ At this time you cannot use a Vercel Project resource with in-line ` + "`environ
},
"team_id": schema.StringAttribute{
Optional: true,
Computed: true,
Description: "The ID of the Vercel team.Required when configuring a team resource if a default team has not been set in the provider.",
PlanModifiers: []planmodifier.String{stringplanmodifier.RequiresReplace(), stringplanmodifier.UseStateForUnknown()},
},
Expand Down
1 change: 0 additions & 1 deletion vercel/resource_shared_environment_variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ For more detailed information, please see the [Vercel documentation](https://ver
},
"team_id": schema.StringAttribute{
Optional: true,
Computed: true,
Description: "The ID of the Vercel team. Shared environment variables require a team.",
PlanModifiers: []planmodifier.String{stringplanmodifier.RequiresReplace(), stringplanmodifier.UseStateForUnknown()},
},
Expand Down