Skip to content

Commit

Permalink
Se agrega proyecto enerar-ec2
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarsan01 committed Oct 15, 2019
1 parent 21f9f9d commit dfec390
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions generar-ec2/instancia.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
resource "aws_instance" "web" {

ami = "ami-082b5a644766e0e6f"
instance_type = "t2.micro"
key_name = "ec2-amazon01"

vpc_security_group_ids = [ "sg-0e88759d216029be2" ]

}

3 changes: 3 additions & 0 deletions generar-ec2/provider.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
provider "aws" {
region = "us-west-2"
}

0 comments on commit dfec390

Please sign in to comment.