{"repo":"matifali/update-coder-template","free":true,"listed":false,"github":"https://github.com/matifali/update-coder-template","clone":"git clone https://github.com/matifali/update-coder-template.git","description":"Update coder templates automatically","language":"Shell","stars":37,"topics":["ci","coder","continuous-deployment","continuous-integration","docker","github-actions","terraform"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Update Coder Template Update coder templates automatically Usage [!NOTE] Please also check the offical Coder setup-action action. 1. Create a GitHub secret named CODER SESSION TOKEN with your coder session token You can generate a long lived session token by running the following command in your browser console while logged into Coder with a Template Admin or Owner role. 2. Create a .github/workflows/push-coder-template.yaml file and use one of the examples below. Inputs Name Description Default --------------------------- ---------------------------------------------------------------------------------------------------------------- ----------------------------- url Required The url of coder deployment (e.g. ). - coder session token Required The session token of coder. - id Required The name of the template. Visible under Template Settings General info in the coder deployment. - dir Required The directory of the template that contains main.tf file - name New version name for the template. Autogenerated name by Coder activate Activate the new template version. true message Update message (similar to commit messages) - dry run Dry run mode. false Examples 1. Update a Coder template with the latest commit hash as the version name, commit message as the update message and mark this as active. 2. Update a Coder template with a random version name without activating.","default_branch":null,"files":null,"tree":[],"storefront":"/r/matifali","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/matifali/update-coder-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}