Skip to content

Commit 5464f16

Browse files
committed
NRL-1385 syntax fixes
1 parent 4aebec2 commit 5464f16

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

terraform/account-wide-infrastructure/dev/ec2.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module "vpc" {
22
source = "../modules/vpc"
3-
aws_region = var.aws_region
43
vpc_cidr_block = var.vpc_cidr_block
54
enable_dns_hostnames = var.enable_dns_hostnames
65
vpc_public_subnets_cidr_block = var.vpc_public_subnets_cidr_block

terraform/account-wide-infrastructure/dev/vars.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ variable "devsandbox_api_domain_name" {
1717
variable "aws_azs" {
1818
type = string
1919
description = "AWS Availability Zones"
20-
default = "eu-west-1a"
20+
default = "eu-west-2a"
2121
}
2222

2323
variable "enable_dns_hostnames" {
@@ -45,5 +45,5 @@ variable "instance_type" {
4545
}
4646

4747
variable "instance_key" {
48-
default = "WorkshopKeyPair"
48+
default = "PowerBIGateway"
4949
}

terraform/account-wide-infrastructure/modules/ec2/ec2.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ resource "aws_instance" "web" {
66
subnet_id = var.subnet_id
77
security_groups = var.security_groups
88

9-
user_data = file("./modules/web/userdata.tpl")
9+
user_data = file("${path.module}/scripts/user_data.tpl")
1010

1111
tags = {
12-
Name = "${var.naming_prefix}-ec2"
12+
Name = "${var.name_prefix}-ec2"
1313
}
1414

1515
}

terraform/account-wide-infrastructure/modules/ec2/vars.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ variable "name_prefix" {
22
type = string
33
description = "The prefix to apply to all resources in the module."
44
}
5-
variable "common_tags" {}
65
variable "instance_type" {}
76
variable "instance_key" {}
87
variable "security_groups" {}
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
variable "aws_region" {}
21
variable "aws_azs" {}
32
variable "enable_dns_hostnames" {}
43
variable "vpc_cidr_block" {}
54
variable "vpc_public_subnets_cidr_block" {}
6-
variable "common_tags" {}
75
variable "name_prefix" {}

0 commit comments

Comments
 (0)