providers/aws: require description in security groups. fixes #123
This commit is contained in:
parent
d8dec878da
commit
bc79f15db3
|
@ -199,13 +199,13 @@ func resource_aws_security_group_validation() *config.Validator {
|
||||||
return &config.Validator{
|
return &config.Validator{
|
||||||
Required: []string{
|
Required: []string{
|
||||||
"name",
|
"name",
|
||||||
|
"description",
|
||||||
"ingress.*",
|
"ingress.*",
|
||||||
"ingress.*.from_port",
|
"ingress.*.from_port",
|
||||||
"ingress.*.to_port",
|
"ingress.*.to_port",
|
||||||
"ingress.*.protocol",
|
"ingress.*.protocol",
|
||||||
},
|
},
|
||||||
Optional: []string{
|
Optional: []string{
|
||||||
"description",
|
|
||||||
"vpc_id",
|
"vpc_id",
|
||||||
"owner_id",
|
"owner_id",
|
||||||
"ingress.*.cidr_blocks.*",
|
"ingress.*.cidr_blocks.*",
|
||||||
|
|
Loading…
Reference in New Issue