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

Service policies do not support empty values #258

Open
michaelbuemi opened this issue Jun 21, 2024 · 0 comments
Open

Service policies do not support empty values #258

michaelbuemi opened this issue Jun 21, 2024 · 0 comments

Comments

@michaelbuemi
Copy link

Updating a service policy outside of Terraform, then updating the Terraform config to match, does not work as intended. This is because GUI operations in Distributed Cloud add additional empty, optional attributes to the policy.

My service policies do not have body_matcher {} and domain_matcher {} configured, for example. These are added by the GUI whether they are populated or not. Viewing the JSON of the resource configuration in the GUI reveals the configuration.

The typical response to this would be to simply configure the same empty attributes in Terraform, but that does not work as Terraform won't send that empty data as part of the resource creation or modification.

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

1 participant