Skip to content

Add default values to parameters so template build #7408

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

Closed
wants to merge 1 commit into from

Conversation

cra1gg
Copy link

@cra1gg cra1gg commented May 4, 2023

Without default values, when editing this template in the Coder UI, the "Build Template" button produces a "parameter not defined" error. This resolves the error and allows the template to build.

Not sure if there's a better way but this worked for me.

Without default values, when editing this template in the Coder UI, the "Build Template" button produces a "parameter not defined" error. This resolves the error and allows the template to build.

Not sure if there's a better way but this worked for me.
@github-actions
Copy link

github-actions bot commented May 4, 2023

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


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


You can retrigger this bot by commenting recheck in this Pull Request

@BrunoQuaresma BrunoQuaresma requested review from matifali and bpmct May 4, 2023 13:50
@ericpaulsen
Copy link
Member

hi @cra1gg - thank you for submitting this pull request.

I've reproduced the behavior, and I believe this is more of an issue with the UI incorrectly handling Terraform variables, than with the template itself.

I will close this PR and submit an issue on your behalf regarding the UI behavior.

@ericpaulsen ericpaulsen closed this May 4, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants