Open JorTurFer opened 6 months ago
Hi @JorTurFer,
Thanks for the suggestion. As mentioned in the document you linked, public IPs can be created through the STACKIT Portal, but currently the Portal is using the OpenStack API to do it.
Similarly, you can use the terraform-provider-openstack in conjunction with our STACKIT Infrastructure API to create public IPs.
You will need OpenStack credentials (user_domain_name
, user_name
, and password
), which can be obtained after creating a user token through the Portal in your project's Infrastructure API page.
If I understood your use case correctly, I think openstack_networking_floatingip_v2
is the resource you're looking for.
Hey @joaopalet , We have already created the IPs and just copycat the address in our terraform files, so we don't need to "mix providers" (at least yet). My request has been more for improving the process for newcomers than an issue/blocker for us 🤣
But thanks for the suggestion! 😄
In our use case, it's required for us having the control of the inbound IP address in a deterministic way, in order to create the DNS records at some places. StackIT support the assignment of previously created IPs to SKE LoadBalancers, but the provider currently doesn't support creating the Public IPs