Replace the string interpolation examples
@jaxxstorm is already working on this.
Since Oct 29, 2020.
- Dominant language
- TypeScript
- Stars
- 2.6k
- Forks
- 894
- Avg merge
- 12h 19m
- Merged PRs (30d)
- 39
Description
Lots of the examples in this repo use string interpolation to build YAML or JSON documents, especially around generating kubeconfig files. A few examples I could find:
https://github.com/pulumi/examples/blob/fd422a115ca1602eed9a895ab4ed748185d798cc/aws-go-eks/main.go#L227
https://github.com/pulumi/examples/blob/90f6fa541f7d6cf0b5171b39e7ef234b785cc98f/aws-cs-eks/EksStack.cs#L14-L52
Unfortunately, this is error-prone, and we've had several examples of users copying and pasting these examples and creating typos, which bubble up into weird errors and are hard to debug.
It would be great if we could move this into the native language JSON/YAML encoding, so we can catch errors and stop the proliferation of these requests
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.