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

Testing confidential compute tdx #394

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SunithaGudisagarIBM1
Copy link
Collaborator

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 TESTARGS='-run=TestAccXXX'

...

@SunithaGudisagarIBM1
Copy link
Collaborator Author

Screenshot 2024-11-20 at 4 43 14 PM Screenshot 2024-11-20 at 4 43 38 PM Screenshot 2024-11-20 at 4 43 54 PM

@SunithaGudisagarIBM1
Copy link
Collaborator Author

resource "ibm_is_instance" "testacc_instance" {
  name                      = "cli-instance"
  image                     = "r134-cdc7b64f-8d86-4412-ac96-7765b1e9253f"
  profile                   = "bx3dc-2x10"
  confidential_compute_mode = "tdx"
  primary_network_interface {
    subnet = "0713-55ad7df6-ccd1-4491-a116-6bcfd30aa646"
  }
  vpc  = "r134-5d5f60df-41f8-4ad9-a651-0e7be8c52f13"
  zone = "us-south-1"
  keys = ["r134-a6f4bdad-5351-4ceb-88f8-5111ccdf3764"]
  network_interfaces {
    subnet = "0713-55ad7df6-ccd1-4491-a116-6bcfd30aa646"
    name   = "eth1"
  }
}
data "ibm_is_instance" "ds_instance" {
  name = ibm_is_instance.testacc_instance.name
}

resource "ibm_is_instance_template" "instancetemplate1" {
  name                      = "instance-template"
  image                     = "r134-cdc7b64f-8d86-4412-ac96-7765b1e9253f"
  profile                   = "bx3dc-2x10"
  confidential_compute_mode = "tdx"

  primary_network_interface {
    subnet = "0713-55ad7df6-ccd1-4491-a116-6bcfd30aa646"
  }

  vpc  = "r134-5d5f60df-41f8-4ad9-a651-0e7be8c52f13"
  zone = "us-south-1"
  keys = ["r134-a6f4bdad-5351-4ceb-88f8-5111ccdf3764"]
}

@@ -1532,6 +1532,7 @@ func testAccCheckIBMISInstanceConfig(vpcname, subnetname, sshname, publicKey, na
name = "%s"
public_key = "%s"
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

@@ -245,3 +245,5 @@ exclude (
k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
k8s.io/client-go v12.0.0+incompatible
)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should have doc changes ?

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