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

generate: don't output default ruleset ref values #596

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

jacobbednarz
Copy link
Member

Updates the output generation to skip outputting the ref value in the case where it is the computed default (same as id).

This aligns the output with the expectation in the schema where the ref maybe computed.

Updates the output generation to skip outputting the `ref` value in the case where it is the computed default (same as `id`).

This aligns the output with the expectation in the schema[1] where the `ref` maybe computed.

[1]: cloudflare/terraform-provider-cloudflare@5b01f8d

Signed-off-by: Jacob Bednarz <[email protected]>
@jacobbednarz jacobbednarz merged commit 6587267 into master Aug 11, 2023
4 checks passed
@jacobbednarz jacobbednarz deleted the dont-output-default-refs branch August 11, 2023 04:46
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