Skip to content

chore: pass previous values into terraform apply #17696

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 23 commits into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
remove from plan request
  • Loading branch information
Emyrk committed May 7, 2025
commit 692bab83f4aaf18bfd3690db507ed1e1ee8549ed
1 change: 0 additions & 1 deletion provisionersdk/proto/provisioner.proto
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to update provisionerd/proto/version.go when changes to this file are made.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did this. There is another change that bumped to v1.5 today. So I'm joining that minor version bump.

Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ message PlanRequest {
repeated RichParameterValue rich_parameter_values = 2;
repeated VariableValue variable_values = 3;
repeated ExternalAuthProvider external_auth_providers = 4;
repeated RichParameterValue previous_parameter_values = 5;
}

// PlanComplete indicates a request to plan completed.
Expand Down
6 changes: 6 additions & 0 deletions tailnet/proto/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ import (
// PushResourcesMonitoringUsage RPCs on the Agent API.
// - Added support for reporting connection events for auditing via the
// ReportConnection RPC on the Agent API.
//
// API v2.5:
// - Shipped in Coder v2.{{placeholder}} // TODO Steven: Replace with the correct version
// - Add previous parameter values to 'WorkspaceBuild' jobs. Provisioner passes
// the previous values for the `terraform apply` to enforce monotonicity
// in the terraform provider.
const (
CurrentMajor = 2
CurrentMinor = 5
Expand Down
Loading