https://pulumi.com logo
Title
n

narrow-battery-9106

03/17/2021, 12:56 PM
Hello everyone I am using pulumi with openstack to provision my infra For some reason there are resources that I cannot create for example volume It errors with this message
Error creating OpenStack block storage client: No suitable endpoint could be found in the service catalog.
Is there a way to set this endpoint manually? I have several endpoints from openstack provider something like
<https://volume.cloud>.{id}
not sure how to use them but I presume pulumi needs one of those and can not find them (correct me if I am wrong) I just wanted to try them out one by one so I need a way to set them manually
g

gentle-diamond-70147

03/17/2021, 5:24 PM
Yes, you can do this with this property on the provider - https://www.pulumi.com/docs/reference/pkg/openstack/provider/#endpointoverrides_nodejs.
You should be able to set this in your stack with
pulumi config set --path openstack:endpointOverrides.block <https://volume.cloud>.{id}
. I'm not sure if
block
is correct there,btw.