Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add a bare/blank template for writing custom Terraform #2964

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
bpmct opened this issue Jul 13, 2022 · 1 comment · Fixed by #2965
Closed

Add a bare/blank template for writing custom Terraform #2964

bpmct opened this issue Jul 13, 2022 · 1 comment · Fixed by #2965
Assignees

Comments

@bpmct
Copy link
Member

bpmct commented Jul 13, 2022

Coder templates can use any Terraform provider and Terraform resource, but Coder-specific knowledge is required to build functional templates:

  • Coder Terraform provider
  • Coder agent & init script
  • start/stop (persistent and ephemeral resources)
  • fetching workspace owner and name
  • Coder apps

While this is now documented (#2377) and can be discovered by reading code for existing templates, a "slim/bare" starter template is also nice to have:

  • self-documenting example of Coder's core functionality
  • natural way to create a new template vs relying on memory or cherrypicking code from other examples
@ketang
Copy link
Contributor

ketang commented Jul 13, 2022

Good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants