Skip to content

feat: support order property of coder_app resource #12077

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 16 commits into from
Feb 12, 2024
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
WIP
  • Loading branch information
mtojek committed Feb 12, 2024
commit c86b786559c197fe207b9e627ee73a21abccebcc
2 changes: 2 additions & 0 deletions provisioner/terraform/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ type agentAppAttributes struct {
Share string `mapstructure:"share"`
Subdomain bool `mapstructure:"subdomain"`
Healthcheck []appHealthcheckAttributes `mapstructure:"healthcheck"`
Order int64 `mapstructure:"order"`
}

type agentEnvAttributes struct {
Expand Down Expand Up @@ -437,6 +438,7 @@ func ConvertState(modules []*tfjson.StateModule, rawGraph string) (*State, error
Subdomain: attrs.Subdomain,
SharingLevel: sharingLevel,
Healthcheck: healthcheck,
Order: attrs.Order,
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion provisionersdk/proto/provisioner.proto
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ message App {
Healthcheck healthcheck = 7;
AppSharingLevel sharing_level = 8;
bool external = 9;
int32 order = 10;
int64 order = 10;
}

// Healthcheck represents configuration for checking for app readiness.
Expand Down