Skip to content

Commit

Permalink
chore: test private module
Browse files Browse the repository at this point in the history
  • Loading branch information
aliscott committed Jun 13, 2023
1 parent 199c56d commit 72b9f56
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions infra/dev/us1/ec2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,22 @@ resource "aws_instance" "web_app" {
ami = "ami-674cbc1e"
instance_type = "t3.large"
}

module "ec2_instance" {
source = "[email protected]:infracost/terraform-private-module-example.git"
version = "~> 3.0"

name = "single-instance"

ami = "ami-ebd02392"
instance_type = "t2.micro"
key_name = "user1"
monitoring = true
vpc_security_group_ids = ["sg-12345678"]
subnet_id = "subnet-eddcdzz4"

tags = {
Terraform = "true"
Environment = "dev"
}
}

0 comments on commit 72b9f56

Please sign in to comment.