Skip to content

Commit 07bd94a

Browse files
authored
Merge pull request #1008 from AlexsLemonade/dev
Production Deploy
2 parents 3f52edb + de0f077 commit 07bd94a

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

infrastructure/deploy.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ def run_terraform(args):
146146

147147
# Make sure that Terraform is allowed to shut down gracefully.
148148
try:
149-
terraform_process = subprocess.Popen(
150-
["terraform", "taint", "aws_instance.api_server_1"], stdout=subprocess.PIPE
151-
)
149+
terraform_process = subprocess.Popen(["terraform", "taint", "aws_instance.api_server_1"])
152150

153151
terraform_process.wait()
154152

@@ -160,10 +158,7 @@ def run_terraform(args):
160158

161159
terraform_process.wait()
162160

163-
terraform_process = subprocess.Popen(
164-
["terraform", "apply", var_file_arg, "-auto-approve"],
165-
stdout=subprocess.PIPE,
166-
)
161+
terraform_process = subprocess.Popen(["terraform", "apply", var_file_arg, "-auto-approve"])
167162

168163
terraform_process.wait()
169164

infrastructure/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = "~> 5.0.0"
5+
version = ">= 5.0.0, < 6.0.0"
66
}
77
}
88
required_version = "1.0.8"

0 commit comments

Comments
 (0)