aws: Making security group ingress rules optional
This commit is contained in:
parent
fae29f4685
commit
38697d6b4c
|
@ -41,7 +41,7 @@ func resourceAwsSecurityGroup() *schema.Resource {
|
||||||
|
|
||||||
"ingress": &schema.Schema{
|
"ingress": &schema.Schema{
|
||||||
Type: schema.TypeSet,
|
Type: schema.TypeSet,
|
||||||
Required: true,
|
Optional: true,
|
||||||
Elem: &schema.Resource{
|
Elem: &schema.Resource{
|
||||||
Schema: map[string]*schema.Schema{
|
Schema: map[string]*schema.Schema{
|
||||||
"from_port": &schema.Schema{
|
"from_port": &schema.Schema{
|
||||||
|
|
|
@ -54,7 +54,7 @@ The following arguments are supported:
|
||||||
|
|
||||||
* `name` - (Required) The name of the security group
|
* `name` - (Required) The name of the security group
|
||||||
* `description` - (Required) The security group description.
|
* `description` - (Required) The security group description.
|
||||||
* `ingress` - (Required) Can be specified multiple times for each
|
* `ingress` - (Optional) Can be specified multiple times for each
|
||||||
ingress rule. Each ingress block supports fields documented below.
|
ingress rule. Each ingress block supports fields documented below.
|
||||||
* `vpc_id` - (Optional) The VPC ID.
|
* `vpc_id` - (Optional) The VPC ID.
|
||||||
* `owner_id` - (Optional) The AWS Owner ID.
|
* `owner_id` - (Optional) The AWS Owner ID.
|
||||||
|
|
Loading…
Reference in New Issue