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

Numa node addition to Instances and Dedicated hosts #159

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

BShrivastav
Copy link

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
UI-24054
Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

@BShrivastav BShrivastav changed the title initial commit: numa node changes Numa node addition to Instances and Dedicated hosts Jul 22, 2022
@SunithaGudisagarIBM
Copy link

Written code seems fine with me, but yet to be decide based on the testing.

@SunithaGudisagarIBM1
Copy link
Collaborator

resource "ibm_is_vpc" "vpc2" {
  name = "sunitha-vpc-tfp"
}

resource "ibm_is_subnet" "subnet2" {
  name            = "sunitha-subnet-tfp"
  vpc             = ibm_is_vpc.vpc2.id
  zone            = "us-south-2"
  ipv4_cidr_block = "10.240.64.0/28"
}

resource "ibm_is_ssh_key" "sshkey" {
  name       = "sunitha-subnet-tfp"
  public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCkF5mR1NqO7z6wviLUY2JZAWcEBhOmYi8lNlrLKP1mI4XOLUFq5KeIy5Ta14wqQR/W2dA72E51ummWn+39z9vgWgYKY5yIuVYy6b2W5Mo2MM73iEi1mB+GgqXWRTGRFBAPgT5mnqiwPZE0yKvQAe5vLPx6z4BxWKNi5Tp31Hf0KKHLKzrH4zUGSyoEFFYeoxUO8YSc6oyAKhJQBQAFXl0u9YSnuyiXUqYDpa06w0PUl2M6ALBTVa1uLmacTIJxJhJzDJxidW3fIVO9Nm7RSU0WcS2FGyqP3jNQKLAhpqUyDOyWfV/2yjy/H4Y3gjfLKCIhZIjUVO1KJlWcSScoJo7ILPWnzmr0uWmC/4qrqU0I3+8/AdBvJF1xCpzDBb/nPKWT2m8s5ZyahpmP4F91K6J0Zk3KLWzXkFrrB4MBpW9LLitPmgFhBitGKmD+Y2w93F3SvdzeLG4MlXg6RBSEJCFdWC9q+xPHxHg9TDkDVr6GoxOS/a/x8MLTHqnBhgczvxk= [email protected]"
}

resource "ibm_is_instance" "testacc_instance" {
  name    = "sunitha-instance"
  image   = "r006-14140f94-fcc4-11e9-96e7-a72723715315"
  profile = "bx2-8x32"
  primary_network_interface {
    subnet = ibm_is_subnet.subnet2.id
  }
  vpc  = ibm_is_vpc.vpc2.id
  zone = "us-south-2"
  keys = [ibm_is_ssh_key.sshkey.id]
}

	/* data "ibm_is_instances" "ds_instances1" {
		vpc_name = "sunitha-vpc-tfp"
	} */

  /* data "ibm_is_instance" "ds_instance" {
  name        = ibm_is_instance.testacc_instance.name
} */
Screenshot 2023-06-23 at 4 11 24 PM Screenshot 2023-06-23 at 4 14 56 PM Screenshot 2023-06-23 at 4 16 43 PM

@SunithaGudisagarIBM1
Copy link
Collaborator

data "ibm_is_instance_profiles" "test1" {
}
data "ibm_is_instance_profile" "test1" {
  name = "cx2-2x4"
}
Screenshot 2023-06-26 at 1 19 05 PM

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

Successfully merging this pull request may close these issues.

4 participants