hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.35k stars 1.75k forks source link

Convert VCR comment formatting to use a go template #17633

Open melinath opened 8 months ago

melinath commented 8 months ago

What kind of contribution is this issue about?

Pull request UX

Details

Currently we format the VCR-related comments posted to PRs by manually building strings bit by bit. This is difficult to reason about or test. We should instead build data structures and then pass them into a Go template, similar to generate_comment.

References

No response

iyabchen commented 6 months ago

I can take this ticket.