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
fix: names
strangely `fly_volume` does not allow `-` and `fly_app` does not allow `_`.
  • Loading branch information
matifali committed Mar 12, 2023
commit d44aa2d8657e1f08acefe8e89508ccd2a750dd2a
2 changes: 1 addition & 1 deletion examples/templates/fly-docker-image/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ provider "coder" {
}

resource "fly_app" "workspace" {
name = "coder-${data.coder_workspace.me.owner}-${lower(replace(data.coder_workspace.me.name, "-", "_"))}"
name = "coder-${data.coder_workspace.me.owner}-${lower(data.coder_workspace.me.name)}"
org = var.fly_org
}

Expand Down