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

ibm_is_lb how to create a network load balancer, what is profile, resource group name #3108

Closed
4 tasks
powellquiring opened this issue Sep 15, 2021 · 4 comments
Closed
4 tasks
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure

Comments

@powellquiring
Copy link

powellquiring commented Sep 15, 2021

This is the output of a load balancer

resource "ibm_is_lb" "front" {
  name                      = "${local.name}-front"
  subnets = [ for subnet in ibm_is_subnet.front : subnet.id]
  type = "public"
  resource_group            = local.resource_group
}

> ibm_is_lb.front
{
  "hostname" = "d3520d84-us-south.lb.appdomain.cloud"
  "id" = "r006-d3520d84-06c3-4ae0-9bca-05040b579c50"
  "logging" = false
  "name" = "vpc3tier-front"
  "operating_status" = "online"
  "private_ips" = tolist([
    "10.0.0.5",
    "10.0.0.6",
  ])
  "profile" = "dynamic"
  "public_ips" = tolist([
    "169.48.154.27",
    "52.116.130.9",
  ])
  "resource_controller_url" = "https://cloud.ibm.com/vpc-ext/network/loadBalancers"
  "resource_group" = "b6503f25836d49029966ab5be7fe50b5"
  "resource_group_name" = "b6503f25836d49029966ab5be7fe50b5"
  "resource_name" = "vpc3tier-front"
  "security_group_supported" = true
  "security_groups" = toset([
    "r006-109c2b0a-fe44-4e5d-be8b-f7e763c15ae7",
  ])
  "status" = "active"
  "subnets" = toset([
    "0717-dc0a0563-d0be-4b78-896d-fe91623ca9df",
  ])
  "tags" = toset([])
  "timeouts" = null /* object */
  "type" = "public"
}

In the docs https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/is_lb

Doc states: profile - (Required, Forces new resource, String) The profile to use for this load balancer. Supported value is network-fixed.

  • profile is not required.
  • profile value is dynamic not network-fixed, what does dynamic mean
  • resource_group_name is not documented and it is not a name. It is the id. Again, like resource_group_id
  • How do I create a network load balancer?
@kavya498 kavya498 added the service/VPC Infrastructure Issues related to the VPC Infrastructure label Sep 15, 2021
@astha-jain
Copy link
Contributor

astha-jain commented Sep 16, 2021

I agree profile should not be required. Secondly, profile = "network-fixed" would create a network load balancer. I'll get the document updated.

@astha-jain
Copy link
Contributor

Are we good to close?

@powellquiring
Copy link
Author

IDK, Where can I review the docs?

@kavya498
Copy link
Collaborator

Please find here
@powellquiring , are we good to close?
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants