From f247239844390b6dc4ff581b91195ec17146e93c Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Fri, 5 Aug 2022 12:42:48 +0100 Subject: [PATCH] added availibility zone to instance Signed-off-by: Mark Bolwell --- .github/workflows/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.tf b/.github/workflows/main.tf index 5bf002e..61da17c 100644 --- a/.github/workflows/main.tf +++ b/.github/workflows/main.tf @@ -49,6 +49,7 @@ resource "aws_security_group" "github_actions" { resource "aws_instance" "testing_vm" { ami = var.ami_id + availability_zone = var.availability_zone associate_public_ip_address = true key_name = var.ami_key_pair_name # This is the key as known in the ec2 key_pairs instance_type = var.instance_type