aloof-traffic-97122
08/25/2022, 5:58 PMinstance = gcp.compute.Instance(...a bunch of args)
instance_group = gcp.compute.InstanceGroup(instances=[instance.self_link], ...other args)
When I run pulumi pre, I get AttributeError: 'NoneType' object has no attribute 'self_link'
, so it looks like the instance is None
. Are there any tips on how I debug what to do next?limited-rainbow-51650
08/26/2022, 8:17 AMid
of the instance to the group:
instance_group = gcp.compute.InstanceGroup(instances=[instance.id], ...other args)
See the example named Example Usage - With instances and Named ports
in the docs:
https://www.pulumi.com/registry/packages/gcp/api-docs/compute/instancegroup/