Skip to content

feat(provisioner): add support for .tf.json templates #7835

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

Merged
merged 3 commits into from
Jun 7, 2023

Conversation

TECHNOFAB11
Copy link
Contributor

@TECHNOFAB11 TECHNOFAB11 commented Jun 4, 2023

Quick draft to extend #7744 to support .tf.json for rich parameters.
This uses hclparse's ParseJSONFile method on .tf.json files as a "replacement" for ParseHCLFile, so the output is identical.

Context

Original issue: #7700
Revert because of missing rich parameter support: #7829

@github-actions
Copy link

github-actions bot commented Jun 4, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@TECHNOFAB11
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

cdrcommunity added a commit to coder/cla that referenced this pull request Jun 4, 2023
@TECHNOFAB11
Copy link
Contributor Author

@coadler feedback welcome, I tried to match my changes to your previous changes :)

@TECHNOFAB11 TECHNOFAB11 marked this pull request as draft June 4, 2023 12:07
@ammario ammario changed the title Draft: feat(provisionersdk,provisioner): add support for .tf.json templates feat(provisionersdk,provisioner): add support for .tf.json templates Jun 4, 2023
@ammario ammario changed the title feat(provisionersdk,provisioner): add support for .tf.json templates feat(provisioner): add support for .tf.json templates Jun 4, 2023
@matifali matifali requested review from coadler and mtojek and removed request for mtojek June 5, 2023 12:05
@matifali matifali added the community Pull Requests and issues created by the community. label Jun 6, 2023
@ammario
Copy link
Member

ammario commented Jun 6, 2023

@coadler can you take a look here

@coadler
Copy link
Contributor

coadler commented Jun 7, 2023

Hey @TECHNOFAB11, I edited this a bit to add some more tests. Was wondering if you could give me permission to push to your branch!

@TECHNOFAB11
Copy link
Contributor Author

TECHNOFAB11 commented Jun 7, 2023

@coadler sure, I'm not sure if I forgot to check the box to allow edits or something but I added you as a collaborator, I hope that works too :)
Otherwise feel free to let me know and I'll see through all the settings, I'm not used to Github :P

@coadler coadler marked this pull request as ready for review June 7, 2023 21:54
@coadler coadler requested a review from deansheather June 7, 2023 21:57
@deansheather deansheather merged commit 52ead3d into coder:main Jun 7, 2023
@deansheather
Copy link
Member

Thank you for your contribution!

@github-actions github-actions bot locked and limited conversation to collaborators Jun 7, 2023
@coder coder unlocked this conversation Jun 7, 2023
@coadler
Copy link
Contributor

coadler commented Jun 7, 2023

Yes, thanks a ton @TECHNOFAB11!

@TECHNOFAB11
Copy link
Contributor Author

Thank you all for the amazing project! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Pull Requests and issues created by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants