Title: Adding a new variable to terraform template breaks `coder templates update` · Issue #1751 · coder/coder · GitHub
Open Graph Title: Adding a new variable to terraform template breaks `coder templates update` · Issue #1751 · coder/coder
X Title: Adding a new variable to terraform template breaks `coder templates update` · Issue #1751 · coder/coder
Description: Steps to Reproduce Run coder template create -d examples/do-droplet-linux or another example (see #1749) Add variable (see below) to main.tf Run coder template update do-droplet-linux -d examples/do-droplet-linux Observe error (see below...
Open Graph Description: Steps to Reproduce Run coder template create -d examples/do-droplet-linux or another example (see #1749) Add variable (see below) to main.tf Run coder template update do-droplet-linux -d examples/d...
X Description: Steps to Reproduce Run coder template create -d examples/do-droplet-linux or another example (see #1749) Add variable (see below) to main.tf Run coder template update do-droplet-linux -d examples/d...
Opengraph URL: https://github.com/coder/coder/issues/1751
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Adding a new variable to terraform template breaks `coder templates update`","articleBody":"## Steps to Reproduce\r\n\r\n1. Run `coder template create -d examples/do-droplet-linux` or another example (see #1749)\r\n2. Add variable (see below) to `main.tf`\r\n3. Run `coder template update do-droplet-linux -d examples/do-droplet-linux`\r\n4. Observe error (see below)\r\n\r\n```\r\nvariable \"step3_random_var\" {\r\n type = string\r\n description = \"Hello\"\r\n}\r\n```\r\n\r\n## Expected\r\n\r\nPrompt input for the new variable (if marked sensitive), otherwise just work™️.\r\n\r\n## Actual\r\n\r\nError:\r\n\r\n```\r\n❯ coder template update do-droplet-linux -d ~/src/coder/examples/do-droplet-linux\r\n> Upload \"~/src/coder/examples/do-droplet-linux\"? (yes/no)\r\nterraform (info):\r\nterraform (info):\r\nterraform (info):\r\njob failed\r\nRun 'coder templates update --help' for usage.\r\n```","author":{"url":"https://github.com/mafredri","@type":"Person","name":"mafredri"},"datePublished":"2022-05-25T17:17:52Z","url":"https://github.com/coder/coder/issues/1751"}
| 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:84b06711-cf62-4465-126c-cd8c3bd36a27 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D026:136CDA:188F1:1F208:6B017E27 |
| html-safe-nonce | eae50c9dfcb20d1597967f6ba50548beda3fde332b7071402d434752a2b083c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDI2OjEzNkNEQToxODhGMToxRjIwODo2QjAxN0UyNyIsInZpc2l0b3JfaWQiOiIyNzIzODU3MTQ1NTQzMDk3ODk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9b25821cd220c8b37f14cb07a18fd2b0cb4deb8d2d9da3153bf2115f30dfe316 |
| hovercard-subject-tag | issue:1248420963 |
| 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/1751/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0bcbb963fc616a5df12082d2f786163689c56d34ef93c3c4819aa1be1e9c2c6d/coder/coder/issues/1751 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0bcbb963fc616a5df12082d2f786163689c56d34ef93c3c4819aa1be1e9c2c6d/coder/coder/issues/1751 |
| og:image:alt | Steps to Reproduce Run coder template create -d examples/do-droplet-linux or another example (see #1749) Add variable (see below) to main.tf Run coder template update do-droplet-linux -d examples/d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mafredri |
| 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