generated code

This commit is contained in:
Megan Marsh 2020-06-30 10:12:50 -07:00
parent 0122530a07
commit 122e80f591
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ func (*FlatSecurityGroupFilterOptions) HCL2Spec() map[string]hcldec.Spec {
type FlatStatement struct { type FlatStatement struct {
Effect *string `cty:"effect" hcl:"effect"` Effect *string `cty:"effect" hcl:"effect"`
Action []string `cty:"action" hcl:"action"` Action []string `cty:"action" hcl:"action"`
Resource *string `cty:"resource" hcl:"resource"` Resource []string `cty:"resource" hcl:"resource"`
} }
// FlatMapstructure returns a new FlatStatement. // FlatMapstructure returns a new FlatStatement.
@ -108,7 +108,7 @@ func (*FlatStatement) HCL2Spec() map[string]hcldec.Spec {
s := map[string]hcldec.Spec{ s := map[string]hcldec.Spec{
"effect": &hcldec.AttrSpec{Name: "effect", Type: cty.String, Required: false}, "effect": &hcldec.AttrSpec{Name: "effect", Type: cty.String, Required: false},
"action": &hcldec.AttrSpec{Name: "action", Type: cty.List(cty.String), Required: false}, "action": &hcldec.AttrSpec{Name: "action", Type: cty.List(cty.String), Required: false},
"resource": &hcldec.AttrSpec{Name: "resource", Type: cty.String, Required: false}, "resource": &hcldec.AttrSpec{Name: "resource", Type: cty.List(cty.String), Required: false},
} }
return s return s
} }