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 #4026

Merged
merged 2 commits into from
Sep 15, 2022
Merged

Conversation

SunithaGudisagarIBM
Copy link
Collaborator

@SunithaGudisagarIBM SunithaGudisagarIBM commented Sep 9, 2022

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

 $ make testacc TEST=./ibm/service/vpc TESTARGS='-run=TestAccIBMISLB_basic_subnet'

Screenshot 2022-09-13 at 1 40 29 PM

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"
}

s1

s2

s3

@SunithaGudisagarIBM
Copy link
Collaborator Author

@hkantare can you please review this PR, our team internally reviewed ibm-vpc#168 PR.

@SunithaGudisagarIBM
Copy link
Collaborator Author

Screenshot 2022-09-14 at 3 48 52 PM

@hkantare hkantare merged commit fd98fe6 into IBM-Cloud:master Sep 15, 2022
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.

3 participants