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

Add Custom Fields for netbox_available_ip_address #632

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

Conversation

PlatformIpq
Copy link

As we need this for our development, it may be great to have here as well.
Sadly we encounter the same issue as #242 regarding irrelevant plans / changes with "" -> null:

=== NAME  TestAccNetboxAvailableIPAddress_deviceByFieldName
    resource_netbox_available_ip_address_test.go:264: Step 1/1 error: After applying this test step, the plan was not empty.
        stdout:


        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place

        Terraform will perform the following actions:

          # netbox_available_ip_address.test will be updated in-place
          ~ resource "netbox_available_ip_address" "test" {
              ~ custom_fields       = {
                  - "custom_field_ip_address" = "" -> null
                }
                id                  = "68"
                # (7 unchanged attributes hidden)
            }

        Plan: 0 to add, 1 to change, 0 to destroy.

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.

1 participant