Skip to content

feat: update vmware service #6329

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

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

Conversation

SnehaKamat1
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

Output from acceptance testing:
Screenshot From 2025-07-02 11-35-31
Screenshot From 2025-07-02 11-26-14
Screenshot From 2025-07-02 10-31-38
Screenshot From 2025-06-30 15-01-57

$make testacc TESTARGS="-run TestAccIbmVmaasVdcBasic"
$make testacc TESTARGS="-run TestAccIbmVmaasVdcAllArgs"
$make testacc TESTARGS="-run TestAccIbmVmaasVdcDataSourceBasic"
$make testacc TESTARGS="-run TestAccIbmVmaasVdcDataSourceAllArgs"

...

Signed-off-by: Sneha Kamat <[email protected]>
Signed-off-by: Sneha Kamat <[email protected]>
@@ -6,20 +6,21 @@ provider "ibm" {
resource "ibm_vmaas_vdc" "vmaas_vdc_instance" {
accept_language = var.vmaas_vdc_accept_language
cpu = var.vmaas_vdc_cpu
name = var.vmaas_vdc_name
ram = var.vmaas_vdc_ram
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you run terraform fmt on these files ?

@@ -31,11 +31,6 @@ func DataSourceIbmVmaasVdc() *schema.Resource {
Required: true,
Description: "A unique ID for a specified virtual data center.",
},
"accept_language": &schema.Schema{
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this a breaking change ?

Copy link
Author

Choose a reason for hiding this comment

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

No this is not a breaking change


resource.Test(t, resource.TestCase{
PreCheck: func() { acc.TestAccPreCheckVMwareService(t) },
Providers: acc.TestAccProviders,
CheckDestroy: testAccCheckIbmVmaasVdcDestroy,
Steps: []resource.TestStep{
resource.TestStep{
Config: testAccCheckIbmVmaasVdcConfigBasic(ds_id, ds_pvdc_id, name),
Config: testAccCheckIbmVmaasVdcConfigBasic(name, id, pvdc_id),
Copy link
Collaborator

Choose a reason for hiding this comment

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

name and name update are same ?

@@ -169,6 +188,7 @@ func ResourceIbmVmaasVdc() *schema.Resource {
},
"private_only": &schema.Schema{
Type: schema.TypeBool,
Optional: true,
Copy link
Collaborator

@uibm uibm Jul 18, 2025

Choose a reason for hiding this comment

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

this is not required

@@ -206,6 +226,7 @@ func ResourceIbmVmaasVdc() *schema.Resource {
},
"transit_gateway_connection_name": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is not required ? Optional on a computed list

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