Skip to content

feat: Add examples/templates/do-linux for Digital Ocean Droplets #1749

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
May 27, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: Remove unneeded concat
  • Loading branch information
mafredri committed May 27, 2022
commit 0e8e3380724a15bd7933c4729b01f5cb5d5ac97a
2 changes: 1 addition & 1 deletion examples/do-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ resource "digitalocean_droplet" "workspace" {
coder_agent_token = coder_agent.dev.token
})
# Required to provision Fedora.
ssh_keys = concat([], var.step3_do_admin_ssh_key > 0 ? [var.step3_do_admin_ssh_key] : [])
ssh_keys = var.step3_do_admin_ssh_key > 0 ? [var.step3_do_admin_ssh_key] : []
}

# resource "digitalocean_project_resources" "project" {
Expand Down