Skip to content

Commit 02f12d6

Browse files
committed
ADD[#126]: an example to create a basic EC2 instance with simple effort
1 parent e2a749d commit 02f12d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

getting-started/ec2/basic/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resource "aws_instance" "basic" {
2+
ami = "ami-005e54dee72cc1d00" # us-west-2
3+
instance_type = "t2.micro"
4+
key_name = "my-key-pair"
5+
}

0 commit comments

Comments
 (0)