providers/aws: use the proper ID field for vpc

This commit is contained in:
Mitchell Hashimoto 2014-07-07 14:20:36 -07:00
parent 916eb5aaf3
commit 56e5d20b40
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ func resource_aws_vpc_create(
// Get the ID and store it // Get the ID and store it
vpc := &vpcResp.VPC vpc := &vpcResp.VPC
log.Printf("[INFO] VPC ID: %s", vpc.VPCID) log.Printf("[INFO] VPC ID: %s", vpc.VpcId)
s.ID = vpc.VPCID s.ID = vpc.VpcId
// Wait for the VPC to become available // Wait for the VPC to become available
log.Printf( log.Printf(