Skip to content

Commit

Permalink
UML-3177 Set a default region when no AWS_REGION
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Ainsworth committed Nov 14, 2023
1 parent 2e30ea8 commit 6b5f0f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service-api/app/features/bootstrap/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],

'aws' => [
'region' => getenv('AWS_REGION') ?: null,
'region' => getenv('AWS_REGION') ?: 'eu-west-1',
'version' => 'latest',

'DynamoDb' => [
Expand Down
2 changes: 1 addition & 1 deletion service-front/app/config/autoload/envs.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'uri' => getenv('PDF_SERVICE_URL') ?: null,
],
'aws' => [
'region' => getenv('AWS_REGION') ?: null,
'region' => getenv('AWS_REGION') ?: 'eu-west-1',
'version' => 'latest',
'Kms' => [
'endpoint' => getenv('AWS_ENDPOINT_KMS') ?: null,
Expand Down

0 comments on commit 6b5f0f6

Please sign in to comment.