Skip to content

Resource "nxos_save_config" not working [BUG] #298

@krzysztofmaciejewskiit

Description

@krzysztofmaciejewskiit

Version: 0.5.7

I want to save the configuration of the device with Terraform.
Image

Logs when creating the resource that should be responsible for this.
Image

The result on the device, which suggests an unsaved configuration. After saving manually, WARNING does not appear.
Image

However, when I do this with the "nxos_rest" resource it saves after the second run of Terraform (it doesn't after the first - not sure why, but at least it works). The content of the resource "nxos_rest" "save" is literally a rewritten request by the API, which you can see in the debug.
Image

API request:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions