|
|
@@ -39,17 +39,17 @@ type Infra struct {
|
|
|
Status InfraStatus `json:"status"`
|
|
|
|
|
|
// The AWS integration that was used to create the infra
|
|
|
- AWSIntegrationID uint
|
|
|
+ AWSIntegrationID uint `json:"aws_integration_id"`
|
|
|
|
|
|
// The GCP integration that was used to create the infra
|
|
|
- GCPIntegrationID uint
|
|
|
+ GCPIntegrationID uint `json:"gcp_integration_id"`
|
|
|
|
|
|
// The DO integration that was used to create the infra:
|
|
|
// this points to an OAuthIntegrationID
|
|
|
- DOIntegrationID uint
|
|
|
+ DOIntegrationID uint `json:"do_integration_id"`
|
|
|
|
|
|
// The last-applied, non-sensitive input variables to the provisioner. For now,
|
|
|
// this is a map[string]string since we marshal into env vars anyway, but
|
|
|
// eventually this config will be more complex.
|
|
|
- LastApplied map[string]string
|
|
|
+ LastApplied map[string]string `json:"last_applied"`
|
|
|
}
|