8000 docs: add template to provision docker image based workspaces on fly.io by matifali · Pull Request #6526 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

docs: add template to provision docker image based workspaces on fly.io #6526

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

Merged
merged 13 commits into from
Mar 17, 2023
Prev Previous commit
Next Next commit
improve setup flow
- user is not prompted in UI for default values
- org slug is best fetched via CLI
  • Loading branch information
bpmct committed Mar 15, 2023
commit ba99899e1454886fb17aa4c78455dde0771651b2
8 changes: 5 additions & 3 deletions examples/templates/fly-docker-image/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,15 @@ The Fly.io API token to use for deploying the workspace. You can generate one by
$ flyctl auth token
EOF
sensitive = true
default = ""
}

variable "fly_org" {
type = string
default = "coder-409"
description = "The Fly.io organization to deploy the workspace in"
description = <<-EOF
The Fly.io organization slug to deploy the workspace in. List organizations by running:

$ flyctl orgs list
EOF
}

data "coder_parameter" "docker-image" {
Expand Down
0