go generate for the google compute export post processor after #8388
This commit is contained in:
parent
e1cb0c5f7e
commit
b4200c3590
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue