Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give option to name vpe ips #435

Closed
vburckhardt opened this issue Nov 6, 2023 · 1 comment
Closed

Give option to name vpe ips #435

vburckhardt opened this issue Nov 6, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@vburckhardt
Copy link
Member

Description

Current logic let the cloud stack pick a random name as the name attribute is not passed

resource "ibm_is_subnet_reserved_ip" "ip" {

There is a limit of 63 chars on the name. The current logic at

ip_name = "${subnet.name}-${service}-gateway-${replace(subnet.zone, "/${var.region}-/", "")}-ip"
and
ip_name = "${subnet.name}-${service.name}-gateway-${replace(subnet.zone, "/${var.region}-/", "")}-ip"
may generate longer than names, so this needs to be factors in the implementation

@vburckhardt vburckhardt added the enhancement New feature or request label Nov 6, 2023
@shemau shemau self-assigned this Nov 8, 2023
@shemau
Copy link
Contributor

shemau commented Nov 16, 2023

🎉 This PR is included in version 4.1.0 🎉

@shemau shemau closed this as completed Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants