bright-sandwich-93783
06/26/2021, 4:06 AMId
output property. However, when making a vanilla vpc, err := ec2.NewVpc(ctx, "staging-vpc", &ec2.VpcArgs{})
call, and trying to access the Id
output property of vpc
, I am getting a vpc.Id undefined (type *ec2.Vpc has no field or method Id)
. How can I access the Id property of the newly created VPC object, and how should I interpret the documentation going forward?NewVpc()
but an Id
field on the LookupVpcResult
from LookupVpc()
??