Skip to content

Commit e4d7990

Browse files
JanSknCopilot
andauthored
Feature/fe error codes (#21)
* first version * fix: sqsdispatcher container starting * fix: loggin in handlers * fix: localstack workaround for eventbridge Co-authored-by: Copilot <copilot@github.com> * fix: full flow working Co-authored-by: Copilot <copilot@github.com> * first version Co-authored-by: Copilot <copilot@github.com> * fix: ci Co-authored-by: Copilot <copilot@github.com> * first pipeline Co-authored-by: Copilot <copilot@github.com> * fix: SHA manifest issue and artifact upload on main push * fix: content type for temp config file * add missing aws iam roles * release-based deployment * feat(infra): release-based cicd * fix: syntax error * docs: add architecture and dev guide * chore(infra): bootstrap s3 bucket for pipeline * chore(infra): add log group for CodeBuild * chore(web): add more meaningful error handling * feat: add error handling an enhance logic * add e2e test to staging * fix(ci): add missing permissions * fix: justfile * fix: inherit secrets * fix: secret * fix: add missing dependencies * fix: wait until localstack is ready * fix: missing artifacts * fix: typo * fix: add audience * fix: sam validation issues * fix * fix: regex --------- Co-authored-by: Copilot <copilot@github.com>
1 parent 93fafa2 commit e4d7990

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

infra/template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Globals:
1919
# global environment variables for all lambdas, must be set in GlobalConfig.java in common-utils
2020
Variables:
2121
ENV: !Ref Environment
22-
_AWS_REGION: !Ref AwsRegion # AWS_REGION is reserved
22+
SYSTEM_AWS_REGION: !Ref AwsRegion # AWS_REGION is reserved
2323
LOG_LEVEL: "INFO" # renaming this requires renaming in log4j2.xml as well
2424

2525
Parameters:

lambda/common-utils/src/main/java/com/hosting/common/config/GlobalConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
public final class GlobalConfig extends BaseConfig {
77

88
public static final String ENVIRONMENT = getOrThrow("ENV");
9-
public static final Region AWS_REGION = Region.of(getOrThrow("_AWS_REGION"));
9+
public static final Region AWS_REGION = Region.of(getOrThrow("SYSTEM_AWS_REGION"));
1010
public static final LambdaEnvType LAMBDA_ENVIRONMENT =
1111
LambdaEnvType.valueOf(getOrThrow("LAMBDA_ENVIRONMENT"));
1212

0 commit comments

Comments
 (0)