Skip to content

[Bug] Not able to disable apc_config in module ntnx_vms_v2 #872

@abhinavbansal29

Description

@abhinavbansal29

Describe the bug
Not able to disable apc_config in ntnx_vms_v2 as part of update operation because it also passes CPU model spec.

To Reproduce
Steps to reproduce the behavior:

   - name: Turn off APC
     nutanix.ncp.ntnx_vms_v2:
       ext_id: "{{ vm_info.response.entities[0].metadata.uuid }}"
       state: "present"
       apc_config:
         is_apc_enabled: false

Expected behavior
Update operation should not pass CPU model details if we try to disable apc_config.

Metadata

Metadata

Labels

bugSomething isn't workingv2.4.0

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions