File tree Expand file tree Collapse file tree 5 files changed +4
-8
lines changed
terraform/account-wide-infrastructure Expand file tree Collapse file tree 5 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 11module "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
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ variable "devsandbox_api_domain_name" {
1717variable "aws_azs" {
1818 type = string
1919 description = " AWS Availability Zones"
20- default = " eu-west-1a "
20+ default = " eu-west-2a "
2121}
2222
2323variable "enable_dns_hostnames" {
@@ -45,5 +45,5 @@ variable "instance_type" {
4545}
4646
4747variable "instance_key" {
48- default = " WorkshopKeyPair "
48+ default = " PowerBIGateway "
4949}
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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" {}
65variable "instance_type" {}
76variable "instance_key" {}
87variable "security_groups" {}
Original file line number Diff line number Diff line change 1- variable "aws_region" {}
21variable "aws_azs" {}
32variable "enable_dns_hostnames" {}
43variable "vpc_cidr_block" {}
54variable "vpc_public_subnets_cidr_block" {}
6- variable "common_tags" {}
75variable "name_prefix" {}
You can’t perform that action at this time.
0 commit comments