Skip to content
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