Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
563d99d
remove ecs and podman as official templates
bpmct Sep 24, 2023
955a166
kubernetes example
bpmct Sep 24, 2023
143fb04
update frontmatter & remove docker-with-dotfiles
bpmct Sep 26, 2023
41accf0
move jfrog to examples/
bpmct Sep 26, 2023
b5de4e2
fix typo
bpmct Sep 26, 2023
2132a6b
fix icon path
bpmct Sep 26, 2023
e563e15
add aws docs
bpmct Sep 26, 2023
deabf17
add aws-windows
bpmct Sep 26, 2023
4342e05
add azure
bpmct Sep 26, 2023
0fc50b0
add azure windows
bpmct Sep 26, 2023
1bcfec2
add docker
bpmct Sep 26, 2023
ca0dc3b
add devcontainers
bpmct Sep 26, 2023
7efb54a
add devcontainer-k8s and move notes
bpmct Sep 26, 2023
a7cfec9
add digitalocean
bpmct Sep 26, 2023
68b1b2b
add fly.io
bpmct Sep 26, 2023
a9660c3
add gcp windows
bpmct Sep 26, 2023
72caf68
fmt
bpmct Sep 26, 2023
756fc4e
Fix gen
kylecarbs Sep 26, 2023
956af8d
fix icon
matifali Sep 28, 2023
eb0812c
fix icon
matifali Sep 28, 2023
2b867b7
remove unrelated content
matifali Sep 28, 2023
5306f35
Delete examples/templates/fly-docker-image directory
matifali Dec 16, 2023
1614bd3
Update README.md
matifali Dec 16, 2023
688093b
Merge remote-tracking branch 'origin/main' into betterexamples
matifali Dec 16, 2023
207fc07
`make fmt`
matifali Dec 16, 2023
24dd048
Fix AWS authentication typo and update user_data
matifali Dec 16, 2023
886837c
Update GCP VM to use persistent VM
matifali Dec 16, 2023
039028b
Add GCP VM devcontainer templates
matifali Dec 16, 2023
94da748
set count for code-server
matifali Dec 16, 2023
817b277
fix gcp-linux
matifali Dec 16, 2023
6153345
revert gcp-template
matifali Dec 16, 2023
b14aadb
Delete GCP VM Devcontainer template and main.tf
matifali Dec 16, 2023
023f914
`make update-golden-files`
matifali Dec 16, 2023
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
fix gcp-linux
  • Loading branch information
matifali committed Dec 16, 2023
commit 817b277a096fa2409fa60d6422d8f8706c25e051
3 changes: 1 addition & 2 deletions examples/templates/gcp-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ resource "coder_app" "code-server" {

resource "google_compute_instance" "dev" {
zone = data.coder_parameter.zone.value
count = data.coder_workspace.me.start_count
name = "coder-${lower(data.coder_workspace.me.owner)}-${lower(data.coder_workspace.me.name)}-root"
machine_type = "e2-medium"
desired_status = (data.coder_workspace.me.owner == "default" || data.coder_workspace.me.start_count == 1 ? "RUNNING" : "TERMINATED")
Expand Down Expand Up @@ -162,7 +161,7 @@ resource "google_compute_instance" "dev" {
echo "${local.linux_user} ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/coder-user
fi
# Start the agent
exec sudo -u "${local.linux_user}" sh -c '${try(coder_agent.mainp[0].init_script, "")}'
exec sudo -u "${local.linux_user}" sh -c '${try(coder_agent.main[0].init_script, "")}'
EOMETA
}
}
Expand Down