mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
chore: make fmt (#4121)
This commit is contained in:
@ -73,9 +73,9 @@ data "aws_ami" "ubuntu" {
|
||||
}
|
||||
|
||||
resource "coder_agent" "main" {
|
||||
arch = "amd64"
|
||||
auth = "aws-instance-identity"
|
||||
os = "linux"
|
||||
arch = "amd64"
|
||||
auth = "aws-instance-identity"
|
||||
os = "linux"
|
||||
startup_script = <<EOT
|
||||
#!/bin/bash
|
||||
|
||||
|
@ -22,8 +22,8 @@ data "coder_workspace" "me" {
|
||||
}
|
||||
|
||||
resource "coder_agent" "main" {
|
||||
arch = data.coder_provisioner.me.arch
|
||||
os = "linux"
|
||||
arch = data.coder_provisioner.me.arch
|
||||
os = "linux"
|
||||
startup_script = <<EOT
|
||||
#!/bin/bash
|
||||
|
||||
|
@ -75,7 +75,7 @@ resource "docker_container" "workspace" {
|
||||
dns = ["1.1.1.1"]
|
||||
# Use the docker gateway if the access URL is 127.0.0.1
|
||||
command = [
|
||||
"sh", "-c", replace(coder_agent.main.init_script, "localhost", "host.docker.internal")]
|
||||
"sh", "-c", replace(coder_agent.main.init_script, "localhost", "host.docker.internal")]
|
||||
env = ["CODER_AGENT_TOKEN=${coder_agent.main.token}"]
|
||||
host {
|
||||
host = "host.docker.internal"
|
||||
|
@ -46,9 +46,9 @@ resource "google_compute_disk" "root" {
|
||||
}
|
||||
|
||||
resource "coder_agent" "main" {
|
||||
auth = "google-instance-identity"
|
||||
arch = "amd64"
|
||||
os = "linux"
|
||||
auth = "google-instance-identity"
|
||||
arch = "amd64"
|
||||
os = "linux"
|
||||
startup_script = <<EOT
|
||||
#!/bin/bash
|
||||
|
||||
|
@ -36,9 +36,9 @@ data "coder_workspace" "me" {
|
||||
}
|
||||
|
||||
resource "coder_agent" "main" {
|
||||
auth = "google-instance-identity"
|
||||
arch = "amd64"
|
||||
os = "linux"
|
||||
auth = "google-instance-identity"
|
||||
arch = "amd64"
|
||||
os = "linux"
|
||||
startup_script = <<EOT
|
||||
#!/bin/bash
|
||||
|
||||
|
Reference in New Issue
Block a user