Create EC2 using .tf
We are adding this script in our main.tf to add VM
module "hostname" {
source = "../../../modules/default-server"
vm_name = "hostname"
vm_image_id = "ID"
vm_network_id = NW-ID
vm_ip = "IP_address"
available_zone = var.available_zone
Last updated