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

azurerm_network_function_collector_policy - convert source_resource_ids to a set to prevent ordering issues #27915

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

stephybun
Copy link
Member

@stephybun stephybun commented Nov 6, 2024

Community Note

  • Please vote on this PR by adding a 👍 reaction to the original PR to help the community and maintainers prioritize for review
  • Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for PR followers and do not help prioritize for review

Description

Technically a breaking change and users will need to recreate the resource when upgrading, but at the moment Terraform keeps trying to force recreation for any resources with more than one entry in source_resource_ids

Testing

Local run of the complete test passes

=== RUN   TestAccNetworkFunctionCollectorPolicy
--- PASS: TestAccNetworkFunctionCollectorPolicy (1062.21s)
=== RUN   TestAccNetworkFunctionCollectorPolicy/Resource
    --- PASS: TestAccNetworkFunctionCollectorPolicy/Resource (1062.21s)
=== RUN   TestAccNetworkFunctionCollectorPolicy/Resource/complete
        --- PASS: TestAccNetworkFunctionCollectorPolicy/Resource/complete (1062.21s)
PASS

Change Log

Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.

  • azurerm_network_function_collector_policy - convert ipfx_ingestion.source_resource_ids to a set to prevent re-ordering [GH-00000]

This is a (please select all that apply):

  • Bug Fix
  • New Feature (ie adding a service, resource, or data source)
  • Enhancement
  • Breaking Change

Related Issue(s)

Fixes #0000

Note

If this PR changes meaningfully during the course of review please update the title and description as required.

Copy link
Member

@jackofallops jackofallops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @stephybun - As discussed offline, despite this being a breaking change, this should be very low impact change and users with multiple entries will have to be currently using ignore_changes for this to be functioning, provided tests are passing it LGTM 👍

@stephybun stephybun merged commit 357ce22 into main Dec 11, 2024
30 checks passed
@stephybun stephybun deleted the b/fix-ipfx-ingestion-ordering branch December 11, 2024 12:36
@github-actions github-actions bot added this to the v4.14.0 milestone Dec 11, 2024
stephybun added a commit that referenced this pull request Dec 11, 2024
jackofallops added a commit that referenced this pull request Dec 13, 2024
* Update CHANGELOG.md for #26304

* Update CHANGELOG.md for #28211

* Update for #28016

* Update for #28139

* Update for #27776

* Update for #28227

* Update for #28080

* Update for #28228

* Update for #27915

* reword nginx api upgrade

* Update for #28160

* Update for #28043

* run changelog-update-for-release.sh

---------

Co-authored-by: stephybun <steph@hashicorp.com>
Co-authored-by: kt <kt@katbyte.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants