diff --git a/terraform/aws/bastion-aws/provider.tf b/terraform/aws/bastion-aws/provider.tf index 0c28776..d7c130e 100644 --- a/terraform/aws/bastion-aws/provider.tf +++ b/terraform/aws/bastion-aws/provider.tf @@ -1,3 +1,3 @@ provider "aws" { - region = "us-west-2" + region = "${var.user_region}" } diff --git a/terraform/aws/bastion-aws/vars.tf b/terraform/aws/bastion-aws/variables.tf similarity index 64% rename from terraform/aws/bastion-aws/vars.tf rename to terraform/aws/bastion-aws/variables.tf index 2a32f6e..128d6f5 100644 --- a/terraform/aws/bastion-aws/vars.tf +++ b/terraform/aws/bastion-aws/variables.tf @@ -1,3 +1,8 @@ +variable "user_region" { + type = "string" + description = "AWS region in which all resources will be created" +} + variable "keypair" { type = "string" description = "AWS SSH keypair to use to connect to instances"