project was not being referenced
This commit is contained in:
parent
aa4cf423f7
commit
b3bbba7767
|
@ -161,7 +161,7 @@ func resourceCloudStackVPCRead(d *schema.ResourceData, meta interface{}) error {
|
||||||
p := cs.Address.NewListPublicIpAddressesParams()
|
p := cs.Address.NewListPublicIpAddressesParams()
|
||||||
p.SetVpcid(d.Id())
|
p.SetVpcid(d.Id())
|
||||||
p.SetIssourcenat(true)
|
p.SetIssourcenat(true)
|
||||||
if project, ok := d.GetOk("project"); ok {
|
if _, ok := d.GetOk("project"); ok {
|
||||||
p.SetProjectid(v.Projectid)
|
p.SetProjectid(v.Projectid)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue