go generate for the google compute export post processor after #8388

This commit is contained in:
Adrien Delorme 2019-12-02 11:32:16 +01:00
parent e1cb0c5f7e
commit b4200c3590
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ type FlatConfig struct {
Subnetwork *string `mapstructure:"subnetwork" cty:"subnetwork"` Subnetwork *string `mapstructure:"subnetwork" cty:"subnetwork"`
VaultGCPOauthEngine *string `mapstructure:"vault_gcp_oauth_engine" cty:"vault_gcp_oauth_engine"` VaultGCPOauthEngine *string `mapstructure:"vault_gcp_oauth_engine" cty:"vault_gcp_oauth_engine"`
Zone *string `mapstructure:"zone" cty:"zone"` Zone *string `mapstructure:"zone" cty:"zone"`
ServiceAccountEmail *string `mapstructure:"service_account_email" cty:"service_account_email"`
} }
// FlatMapstructure returns a new FlatConfig. // FlatMapstructure returns a new FlatConfig.
@ -52,6 +53,7 @@ func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec {
"subnetwork": &hcldec.AttrSpec{Name: "subnetwork", Type: cty.String, Required: false}, "subnetwork": &hcldec.AttrSpec{Name: "subnetwork", Type: cty.String, Required: false},
"vault_gcp_oauth_engine": &hcldec.AttrSpec{Name: "vault_gcp_oauth_engine", Type: cty.String, Required: false}, "vault_gcp_oauth_engine": &hcldec.AttrSpec{Name: "vault_gcp_oauth_engine", Type: cty.String, Required: false},
"zone": &hcldec.AttrSpec{Name: "zone", Type: cty.String, Required: false}, "zone": &hcldec.AttrSpec{Name: "zone", Type: cty.String, Required: false},
"service_account_email": &hcldec.AttrSpec{Name: "service_account_email", Type: cty.String, Required: false},
} }
return s return s
} }