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

Update Subnets on LoadBalancer #168

Closed
wants to merge 1 commit into from

Conversation

SunithaGudisagarIBM
Copy link

resource "ibm_is_vpc" "testacc_vpc" {
  name = "sunitha-vpc"
}

resource "ibm_is_subnet" "testacc_subnet" {
  name            = "sunitha-subnet"
  vpc             = ibm_is_vpc.testacc_vpc.id
  zone            = "us-south-1"
  ipv4_cidr_block = "10.240.0.0/24"
}

resource "ibm_is_subnet" "testacc_subnet_1" {
	name = "sunitha-subnet-1"
	vpc = ibm_is_vpc.testacc_vpc.id
	zone = "us-south-2"
	ipv4_cidr_block = "10.240.64.0/24"
}
resource "ibm_is_lb" "testacc_LB" {
  name    = "sunitha-load-testing"
  subnets = [ibm_is_subnet.testacc_subnet.id]
}

data "ibm_is_lbs" "ds_lb" {
#   name = "sunitha-load-testing"
}

data "ibm_is_lb" "ds_lb" {
  name = "sunitha-load-testing"
}

Screenshot 2022-08-24 at 12 37 29 PM

Screenshot 2022-08-24 at 12 39 02 PM

Screenshot 2022-08-24 at 12 40 30 PM

@SunithaGudisagarIBM SunithaGudisagarIBM force-pushed the feature-is-lbSubnet branch 6 times, most recently from 90971cb to 97bf42b Compare September 8, 2022 14:34
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

Successfully merging this pull request may close these issues.

2 participants