Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrous committed Jul 1, 2024
1 parent 0faa63f commit fc9b348
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 72 deletions.
16 changes: 10 additions & 6 deletions cdk_deployment/sdc_aws_processing_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,16 @@ def __init__(
code=aws_lambda.DockerImageCode.from_ecr(ecr_repository, tag_or_digest=TAG),
environment={
"LAMBDA_ENVIRONMENT": config["DEPLOYMENT_ENVIRONMENT"],
"RDS_SECRET_ARN": rds_credentials_secret.secret_arn
if not os.getenv("DRY_RUN")
else "",
"RDS_HOST": db_instance.db_instance_endpoint_address
if not os.getenv("DRY_RUN")
else "",
"RDS_SECRET_ARN": (
rds_credentials_secret.secret_arn
if not os.getenv("DRY_RUN")
else ""
),
"RDS_HOST": (
db_instance.db_instance_endpoint_address
if not os.getenv("DRY_RUN")
else ""
),
"RDS_PORT": str(
db_instance.db_instance_endpoint_port
if not os.getenv("DRY_RUN")
Expand Down
66 changes: 0 additions & 66 deletions terraform/buildspec.yml

This file was deleted.

0 comments on commit fc9b348

Please sign in to comment.