|
@@ -1,4 +1,4 @@
|
1
|
|
-#Terraform Spike
|
|
1
|
+# Terraform Spike
|
2
|
2
|
|
3
|
3
|
## Setup Terraform on your machine
|
4
|
4
|
```
|
|
@@ -16,6 +16,10 @@ Paste in the following code to create a simple EC2 Instance (replace with correc
|
16
|
16
|
resource "aws_instance" "example" {
|
17
|
17
|
ami = "ami-95f8d2f3"
|
18
|
18
|
instance_type = "t2.micro"
|
|
19
|
+
|
|
20
|
+ tags {
|
|
21
|
+ Name = "terraform-hello-world"
|
|
22
|
+ }
|
19
|
23
|
}
|
20
|
24
|
```
|
21
|
25
|
|
|
@@ -29,3 +33,6 @@ To actually run the file:
|
29
|
33
|
```
|
30
|
34
|
terraform apply
|
31
|
35
|
```
|
|
36
|
+
|
|
37
|
+## Resources
|
|
38
|
+- (Introduction to Terraform (this is now OReilly book))[https://blog.gruntwork.io/an-introduction-to-terraform-f17df9c6d180]
|