Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9610e62

Browse files
committed
set Instance type to be immutable
1 parent1bc57d1 commit9610e62

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

‎examples/templates/aws-linux/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ data "coder_parameter" "instance_type" {
109109
name="Instance Type"
110110
description="What instance type should your workspace use?"
111111
default="t3.micro"
112-
mutable=true
112+
mutable=false
113113
option {
114114
name="2 vCPU, 1 GiB RAM"
115115
value="t3.micro"

‎examples/templates/aws-windows/main.tf

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ terraform {
1111
}
1212
}
1313

14-
1514
# Last updated 2023-03-14
1615
# aws ec2 describe-regions | jq -r '[.Regions[].RegionName] | sort'
1716
data"coder_parameter""region" {
@@ -110,7 +109,7 @@ data "coder_parameter" "instance_type" {
110109
name="Instance Type"
111110
description="What instance type should your workspace use?"
112111
default="t3.micro"
113-
mutable=true
112+
mutable=false
114113
option {
115114
name="2 vCPU, 1 GiB RAM"
116115
value="t3.micro"
@@ -155,10 +154,9 @@ data "aws_ami" "windows" {
155154
}
156155

157156
resource"coder_agent""main" {
158-
arch="amd64"
159-
auth="aws-instance-identity"
160-
os="windows"
161-
157+
arch="amd64"
158+
auth="aws-instance-identity"
159+
os="windows"
162160
login_before_ready=false
163161
}
164162

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp