Hi ! How do I create an IP address with purpose `S...
# google-cloud
a
Hi ! How do I create an IP address with purpose
SHARED_LOADBALANCER_VIP
? I am using it like this:
Copy code
new gcp.compute.Address("myip", {
    project,
    addressType: 'INTERNAL',
    subnetwork: subnet.selfLink,
    labels,
    region:'europe-west1',
    purpose: 'SHARED_LOADBALANCER_VIP'
});
but which fails with the error :
has a problem: expected purpose to be one of [GCE_ENDPOINT ], got SHARED_LOADBALANCER_VIP
nvm, i figured it out. had an older version of
@pulumi/gcp
. upgrading to the latest version fixed the issue.