2022-11-18 09:57:31 +00:00
|
|
|
package config
|
|
|
|
|
2022-12-15 16:30:33 +00:00
|
|
|
type Terraform struct {
|
|
|
|
ExecPath string `json:"exec_path"`
|
|
|
|
}
|
|
|
|
|
2022-11-18 09:57:31 +00:00
|
|
|
type Bundle struct {
|
2023-02-17 01:49:39 +00:00
|
|
|
Name string `json:"name"`
|
2022-11-18 09:57:31 +00:00
|
|
|
|
|
|
|
// TODO
|
|
|
|
// Default cluster to run commands on (Python, Scala).
|
|
|
|
// DefaultCluster string `json:"default_cluster,omitempty"`
|
|
|
|
|
|
|
|
// TODO
|
|
|
|
// Default warehouse to run SQL on.
|
|
|
|
// DefaultWarehouse string `json:"default_warehouse,omitempty"`
|
2022-11-28 09:10:13 +00:00
|
|
|
|
|
|
|
// Environment is set by the mutator that selects the environment.
|
2023-04-04 10:16:07 +00:00
|
|
|
Environment string `json:"environment,omitempty" bundle:"readonly"`
|
2022-12-15 16:30:33 +00:00
|
|
|
|
|
|
|
// Terraform holds configuration related to Terraform.
|
|
|
|
// For example, where to find the binary, which version to use, etc.
|
2023-04-04 10:16:07 +00:00
|
|
|
Terraform *Terraform `json:"terraform,omitempty" bundle:"readonly"`
|
2023-03-22 15:37:26 +00:00
|
|
|
|
|
|
|
// Lock configures locking behavior on deployment.
|
2023-04-04 10:16:07 +00:00
|
|
|
Lock Lock `json:"lock" bundle:"readonly"`
|
2022-11-18 09:57:31 +00:00
|
|
|
}
|