Skip to content

Conversation

@congx4
Copy link
Contributor

@congx4 congx4 commented Nov 7, 2025

add the functionality to allow users define the custom allocation rule reorder behaviors:

when override_ui_defined_resources is false:

If there are rules in middle of existing rules that are managed by terraform, during plan and apply phase, we error it.
If there are rules at the end of existing rules, during plan and apply phase, we warn about unmanaged rules detected at the end of order.

when override_ui_defined_resources is true:
Whenever they are some UI-defined rules, during plan phase, we warn about UI-defined rules will be deleted. During apply phase, we actually delete any UI-defined rules.
Tested in us5 region, all scenarios are aligned with expected results.

@congx4 congx4 changed the base branch from master to congxie/fixTPTerraform November 7, 2025 18:34
@congx4 congx4 changed the title Congxie/fix car terraform [resource_datadog_custom_allocation_rules] add the functionality to allow users decide tag pipeline reorder behaviors Nov 7, 2025
@congx4 congx4 changed the title [resource_datadog_custom_allocation_rules] add the functionality to allow users decide tag pipeline reorder behaviors [resource_datadog_custom_allocation_rules] add the functionality to allow users decide custom allocation rule reorder behaviors Nov 7, 2025
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.

2 participants