provider/aws: Make VPC ID required on subnets

This commit is contained in:
James Nugent 2015-11-23 16:39:12 +02:00
parent 6543b944b7
commit 99e3d62cd8
1 changed files with 1 additions and 2 deletions

View File

@ -22,9 +22,8 @@ func resourceAwsSubnet() *schema.Resource {
Schema: map[string]*schema.Schema{
"vpc_id": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Required: true,
ForceNew: true,
Computed: true,
},
"cidr_block": &schema.Schema{