From 72b0c529ee689ead043911269e0736aeb2958160 Mon Sep 17 00:00:00 2001 From: HarmanJyot Kaur Date: Fri, 21 May 2021 10:45:26 +0530 Subject: [PATCH] removed variable network --- main.tf | 5 ----- variables.tf | 6 ------ 2 files changed, 11 deletions(-) diff --git a/main.tf b/main.tf index fc28468..4a21585 100644 --- a/main.tf +++ b/main.tf @@ -58,11 +58,6 @@ resource "aws_instance" "default" { cpu_credits = var.cpu_credits } - network_interface { - network_interface_id = var.network_interface_id - device_index = 0 - } - tags = merge( module.labels.tags, { diff --git a/variables.tf b/variables.tf index 095d341..79223df 100644 --- a/variables.tf +++ b/variables.tf @@ -329,9 +329,3 @@ variable "encrypted" { default = true description = "If true, the disk will be encrypted." } - -variable "network_interface_id" { - type = string - default = null - description = "ID of the network interface to attach" -} \ No newline at end of file