Title: Support terraform outputs on template/workspace create · Issue #1311 · coder/coder · GitHub
Open Graph Title: Support terraform outputs on template/workspace create · Issue #1311 · coder/coder
X Title: Support terraform outputs on template/workspace create · Issue #1311 · coder/coder
Description: What is your suggestion? Terraform has outputs, which can be used to share variables, outputs, and instructions after resources are created. In Coder, these outputs are not shown when a workspace is created. Why do you want this feature?...
Open Graph Description: What is your suggestion? Terraform has outputs, which can be used to share variables, outputs, and instructions after resources are created. In Coder, these outputs are not shown when a workspace i...
X Description: What is your suggestion? Terraform has outputs, which can be used to share variables, outputs, and instructions after resources are created. In Coder, these outputs are not shown when a workspace i...
Opengraph URL: https://github.com/coder/coder/issues/1311
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support terraform outputs on template/workspace create","articleBody":"## What is your suggestion?\r\n\r\nTerraform has outputs, which can be used to share variables, outputs, and instructions after resources are created. In Coder, these outputs are not shown when a workspace is created. \r\n\r\n## Why do you want this feature?\r\n\r\nOutputs can be used in Coder for a few interesting use cases:\r\n\r\n1. Templates can give developers additional instructions once a workspace is created\r\n1. Templates can give admins instructions to troubleshoot, such as link to with region + instance ID in AWS/EC2 dashboard (#1325)\r\n1. Servers can be manually provisioned and connected to Coder with a coder_token output\r\n - One-off mac mini servers, raspberry pis, homelab server, etc\r\n1. Share information about the resource created, as a confirmation or for a next step.\r\n\r\n## Current behavior\r\n\r\n```sh\r\nThe hello workspace has been created!\r\n```\r\n\r\n## Desired behavior\r\n\r\n```sh\r\nThe hello workspace has been created!\r\n\r\nOutputs:\r\n\r\ncoder_token = \"0ea5efc9-a901-4d45-a228-a61196d49d1c\"\r\n```\r\n\r\nThe outputs is what happens when you do `terraform apply`\r\n\r\n## Are there any workarounds to get this functionality today?\r\n\r\nNot really\r\n\r\n## Are you interested in submitting a PR for this?\r\n\r\nUnfortunately, no :(\r\n","author":{"url":"https://github.com/bpmct","@type":"Person","name":"bpmct"},"datePublished":"2022-05-05T19:06:09Z","url":"https://github.com/coder/coder/issues/1311"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8c5b31f8-97e9-3d4d-21d8-17ba1b2fa2c0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F7C:1CCECA:470EAD:5F300C:6B01A229 |
| html-safe-nonce | 44c91380994d476029f90e54098d8a3c57c5724d3d87939773c47c15dae10bda |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjdDOjFDQ0VDQTo0NzBFQUQ6NUYzMDBDOjZCMDFBMjI5IiwidmlzaXRvcl9pZCI6IjcwOTc5NjMyMTU4NTg5ODAyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ddf33d5bbf3ec7c126dbfcba432e9d7eca0f92bef3cee2f7fa87bf1f7776f874 |
| hovercard-subject-tag | issue:1227069150 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/1311/issue_layout |
| twitter:image | https://opengraph.githubassets.com/935519d179c35a3bbe12a7c55c686924ad714b1e0a4dee832e6fdb1b2e6b8d93/coder/coder/issues/1311 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/935519d179c35a3bbe12a7c55c686924ad714b1e0a4dee832e6fdb1b2e6b8d93/coder/coder/issues/1311 |
| og:image:alt | What is your suggestion? Terraform has outputs, which can be used to share variables, outputs, and instructions after resources are created. In Coder, these outputs are not shown when a workspace i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bpmct |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width