You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating an SKSNodepool, pulumi doesn't wait for the instance pool to become ready. This leads to the problem that if I want to use the instance pools IP addresses later to configure the allowed IPs of my database, they are filled with an empty string.
This is an example of what I've tried:
constsksNodepool=newexoscale.SKSNodepool('nodepool-prd',{zone: 'at-vie-1',diskSize: 20,instanceType: 'standard.medium',size: 2,description: 'Instance pool for the production cluster',clusterId: sksCluster.id,});constinstancePoolIps=sksNodepool.instancePoolId.apply(async(id)=>{constinstancePool=awaitexoscale.getInstancePool({zone: 'at-vie-1', id });returninstancePool.instances.map((i)=>i.publicIpAddress);});constdb=newexoscale.Database('postgres',{name: 'postgres',zone: 'at-vie-1',type: 'pg',plan: 'hobbyist-2',pg: {ipFilters: instancePoolIps.apply((instances)=>[
...instances.map(async(i)=>`${awaiti}/32`),'62.240.134.67/32',]),},},{dependsOn: sksNodepool,},);
The text was updated successfully, but these errors were encountered:
When creating an
SKSNodepool
, pulumi doesn't wait for the instance pool to become ready. This leads to the problem that if I want to use the instance pools IP addresses later to configure the allowed IPs of my database, they are filled with an empty string.This is an example of what I've tried:
The text was updated successfully, but these errors were encountered: