terraform-cdk
terraform-cdk copied to clipboard
Improve init templates (get rid of string replacing)
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Currently our templates used in cdktf init do a string replace to inject a RemoteBackend. This is less than ideal and broke in more than one instance (see here for one fix).
We should make that more robust.
References
- https://github.com/hashicorp/terraform-cdk/issues/1493
- https://github.com/hashicorp/terraform-cdk/issues/1494