https://pulumi.com logo
#google-cloud
Title
# google-cloud
a

adorable-action-51248

03/22/2021, 2:20 PM
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.