-
Notifications
You must be signed in to change notification settings - Fork 697
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
base: master
Are you sure you want to change the base?
Conversation
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 |
There was a problem hiding this comment.
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{ |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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), |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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
Community Note
Relates OR Closes #0000
Output from acceptance testing:



