Skip to content

Commit 7f20aac

Browse files
committed
clooud
1 parent 73912dd commit 7f20aac

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

examples/main.tf

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77

88
iterative = {
99
source = "iterative/iterative"
10-
version = "0.5.4"
10+
version = "0.5.5"
1111
}
1212
}
1313
}
@@ -23,17 +23,17 @@ resource "iterative_machine" "machine-az" {
2323
*/
2424

2525

26-
# resource "iterative_runner" "runner-az" {
27-
# name = "holy-moly5"
28-
# token = "arszDpb3xtNdKaXmQ6vN"
29-
# repo = "https://gitlab.com/DavidGOrtega/3_tensorboard"
30-
# driver = "gitlab"
31-
# labels = "tf"
26+
/* resource "iterative_runner" "runner-az" {
27+
name = "holy-moly56"
28+
token = "arszDpb3xtNdKaXmQ6vN"
29+
repo = "https://gitlab.com/DavidGOrtega/3_tensorboard"
30+
driver = "gitlab"
31+
labels = "tf"
3232
33-
# cloud = "azure"
34-
# region = "us-west"
35-
# instance_type = "m"
36-
# }
33+
cloud = "azure"
34+
region = "us-west"
35+
instance_type = "m"
36+
} */
3737

3838
/*
3939
resource "iterative_machine" "machine-aws" {

iterative/resource_runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,14 @@ func provisionerCode(d *schema.ResourceData) (string, error) {
183183
SchemaVersion: 0,
184184
Attributes: AttributesType{
185185
ID: d.Get("name").(string),
186+
Cloud: d.Get("cloud").(string),
186187
Name: "",
187188
Labels: "",
188189
IdleTimeout: d.Get("idle_timeout").(int),
189190
Repo: "",
190191
Token: "",
191192
Driver: "",
192193
AwsSecurityGroup: "",
193-
Cloud: "",
194194
CustomData: "",
195195
Image: "",
196196
InstanceGpu: "",

0 commit comments

Comments
 (0)