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

[UX2.0] configuration-group unsupported_features should be empty list when nothing is configured #296

Open
tzarski0 opened this issue Jul 22, 2024 · 1 comment
Assignees

Comments

@tzarski0
Copy link
Collaborator

I am developing module for config-group. Whenever I configure a configuration group with unsupported_features set as empty list, the next terraform apply shows a diff:

  # module.sdwan.sdwan_configuration_group.configuration_group["dual_device"] will be updated in-place
  ~ resource "sdwan_configuration_group" "configuration_group" {
        id                    = "16cc4e25-8c8e-4fdc-9761-624b98d90aae"
        name                  = "dual_device"
      ~ topology_devices      = [
          ~ {
              + unsupported_features = []
                # (2 unchanged attributes hidden)
            },
          ~ {
              + unsupported_features = []
                # (2 unchanged attributes hidden)
            },
        ]
        # (4 unchanged attributes hidden)
    }

We should make sure that the reading of existing config group sets the unsupported_features correctly to empty list instead of null.

@tzarski0
Copy link
Collaborator Author

tzarski0 commented Oct 2, 2024

@seconroy is that something you can help with? This is blocking modules development for configuration group.

@seconroy seconroy self-assigned this Oct 2, 2024
seconroy added a commit to seconroy/terraform-provider-sdwan that referenced this issue Oct 15, 2024
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

No branches or pull requests

3 participants