Closed radeksimko closed 4 years ago
thanks @radeksimko! This looks good. I have a couple of questions but they aren't blockers:
1: What was the markdown bug you fixed? The branch and commit message indicate a bug.
2: Did you mean to omit a test out.md for basics-json
?
🤔 Thanks for pointing out the change - can you add a test example with a provider source attribute, and (if you haven't already) make sure the registry folks know that output is changing? I believe they parse that field.
also I am so sorry, you linked the issue right in this PR 🙄 I need to invite all my braincells to monday morning PR reviews next time
can you add a test example with a provider source attribute
I think this test covers that already? https://github.com/hashicorp/terraform-config-inspect/pull/39/files#diff-76fee4570d37301e18d103509279bacfR5
make sure the registry folks know that output is changing
I requested review from @hashicorp/tf-self-serve - I'm not sure if we have any better-matching team on GitHub covering the Registry.
FWIW the output is not changing for providers that do not have a source defined. It's rather the internal representation which broke markdown rendering.
Fixes #38
I took the liberty to decouple the markdown rendering logic and added Markdown test data for all relevant test cases.