Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 8fb2de6

Browse files
author
David Chung
authored
Terraform plugin improvements (#479)
Signed-off-by: David Chung <[email protected]>
1 parent 6a76266 commit 8fb2de6

File tree

12 files changed

+1201
-247
lines changed

12 files changed

+1201
-247
lines changed

examples/instance/terraform/README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,22 @@ resource type name (e.g. `aws_instance`). This is the spec for the instance plu
7070
```json
7171
{
7272
"Properties" : {
73-
"type" : "aws_instance",
74-
"value" : {
75-
"ami" : "${lookup(var.aws_amis, var.aws_region)}",
76-
"instance_type" : "m1.small",
77-
"key_name": "PUBKEY",
78-
"vpc_security_group_ids" : ["${aws_security_group.default.id}"],
79-
"subnet_id": "${aws_subnet.default.id}",
80-
"tags" : {
81-
"Tier" : "web",
82-
"InstancePlugin" : "terraform"
83-
},
84-
"connection" : {
85-
"user" : "ubuntu"
86-
}
73+
"resource" : {
74+
"aws_instance": {
75+
"ami" : "${lookup(var.aws_amis, var.aws_region)}",
76+
"instance_type" : "m1.small",
77+
"key_name": "PUBKEY",
78+
"vpc_security_group_ids" : ["${aws_security_group.default.id}"],
79+
"subnet_id": "${aws_subnet.default.id}",
80+
"tags" : {
81+
"Tier" : "web",
82+
"InstancePlugin" : "terraform"
83+
},
84+
"connection" : {
85+
"user" : "ubuntu"
86+
}
8787
}
88+
}
8889
},
8990
"Tags" : {
9091
"other" : "values"

0 commit comments

Comments
 (0)