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

[FEAT] Support EIP in alicloud_alb_load_balancer #7716

Open
shusaan opened this issue Oct 3, 2024 · 0 comments
Open

[FEAT] Support EIP in alicloud_alb_load_balancer #7716

shusaan opened this issue Oct 3, 2024 · 0 comments

Comments

@shusaan
Copy link

shusaan commented Oct 3, 2024

Description

The alicloud_alb_load_balancer resource does not support AllocationId for EIP. However, the EIP can be assigned using the Aliyun CLI.

Here is the ref link for ALB (AllocationId)

Terraform Configuration

resource "alicloud_alb_load_balancer" "default" {
  load_balancer_edition  = "Basic"
  address_type           = "Internet"
  vpc_id                 = alicloud_vpc.default.id
  address_allocated_mode = "Fixed"
  resource_group_id      = data.alicloud_resource_manager_resource_groups.default.groups.0.id
  load_balancer_name     = var.name
  load_balancer_billing_config {
    pay_type = "PayAsYouGo"
  }
  modification_protection_config {
    status = "NonProtection"
  }
  zone_mappings {
    vswitch_id = alicloud_vswitch.default.0.id
    zone_id    = data.alicloud_alb_zones.default.zones.0.id
  }
  zone_mappings {
    vswitch_id = alicloud_vswitch.default.1.id
    zone_id    = data.alicloud_alb_zones.default.zones.1.id
  }
  tags = {
    Created = "TF"
  }
}

Expected Behavior
Support for allocation_id for EIP in the alicloud_alb_load_balancer resource.

Actual Behavior
The alicloud_alb_load_balancer resource does not support allocation_id for EIP. The EIP can only be assigned using the Aliyun CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant