Skip to content

Commit

Permalink
removes vpc_id variable and data sources in main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlalexander committed Oct 22, 2020
1 parent 9c083d0 commit d80c467
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
8 changes: 0 additions & 8 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@

data "aws_caller_identity" "current" {}

data "aws_vpc" "vpc" {
id = var.vpc_id
}

data "aws_subnet_ids" "vpc" {
vpc_id = var.vpc_id
}

locals {
app_name = "${var.project}-${var.appenv}-ansible-lambda"
rotate_keypair_name = "${var.project}-${var.appenv}-ansible-rotate-keypair"
Expand Down
6 changes: 0 additions & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ variable "subnet_id" {
default = ""
}

variable "vpc_id" {
type = string
description = "(optional) The VPC ID where the EC2 should be placed"
default = ""
}

variable "security_group_ids" {
type = string
description = "(optional) A comma delimited list of security group ids"
Expand Down

0 comments on commit d80c467

Please sign in to comment.