Skip to content

Commit cba42bd

Browse files
committed
Variables!
1 parent 960cb56 commit cba42bd

File tree

3 files changed

+4
-20
lines changed

3 files changed

+4
-20
lines changed

aws/infrastructure/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ terraform {
1414
}
1515

1616
provider "aws" {
17-
region = "${var.region}"
17+
region = var.region
1818
}
1919

2020
resource "aws_sqs_queue" "terraform_queue" {
21-
name = "${var.queue_name}"
21+
name = var.queue_name
2222
}
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
region = #{Project.AWS.Region}
2-
backend_bucket = #{Project.AWS.Backend.Bucket}
3-
backend_key = #{Project.AWS.Backend.Key}
4-
backend_region = #{Project.AWS.Backend.Region}
5-
6-
queue = #{Project.AWS.Queue.Name}
1+
region = "#{Project.AWS.Region}"
2+
queue = "#{Project.AWS.Queue.Name}"

aws/infrastructure/variables.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,6 @@ variable "region" {
22
type = string
33
}
44

5-
variable "backend_bucket" {
6-
type = string
7-
}
8-
9-
variable "backend_key" {
10-
type = string
11-
}
12-
13-
variable "backend_region" {
14-
type = string
15-
}
16-
175
variable "queue_name" {
186
type = string
197
}

0 commit comments

Comments
 (0)