Skip to content

Commit

Permalink
[sdlf-stage-lambda] remove pOrg and pDomain requirements, not used fo…
Browse files Browse the repository at this point in the history
…r anything
  • Loading branch information
cnfait committed Nov 21, 2024
1 parent 8ae342c commit 1877ae3
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 18 deletions.
10 changes: 0 additions & 10 deletions sdlf-stage-lambda/src/awslambda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ Parameters:
Description: KMS key set as infra key for the dataset
Type: String
Default: "{{resolve:ssm:/sdlf/dataset/rKMSInfraKey/dev}}"
pOrg:
Description: Name of the organization owning the datalake
Type: String
Default: "{{resolve:ssm:/sdlf/storage/rOrganization/dev}}"
pDomain:
Description: Data domain name
Type: String
Default: "{{resolve:ssm:/sdlf/storage/rDomain/dev}}"
pRawBucket:
Description: Raw bucket
Type: String
Expand Down Expand Up @@ -122,8 +114,6 @@ Globals:
DATASET: !Ref pDataset
PIPELINE: !Ref pPipeline
PIPELINE_STAGE: !Ref pStageName
ORG: !Ref pOrg
DOMAIN: !Ref pDomain
DEPLOYMENT_INSTANCE: !Ref pDeploymentInstance
STORAGE_DEPLOYMENT_INSTANCE: dev # TODO
DATASET_DEPLOYMENT_INSTANCE: dev # TODO
Expand Down
2 changes: 0 additions & 2 deletions sdlf-stage-lambda/src/lambda/error/src/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
dataset = os.environ["DATASET"]
pipeline = os.environ["PIPELINE"]
pipeline_stage = os.environ["PIPELINE_STAGE"]
org = os.environ["ORG"]
domain = os.environ["DOMAIN"]
deployment_instance = os.environ["DEPLOYMENT_INSTANCE"]


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
dataset = os.environ["DATASET"]
pipeline = os.environ["PIPELINE"]
pipeline_stage = os.environ["PIPELINE_STAGE"]
org = os.environ["ORG"]
domain = os.environ["DOMAIN"]
deployment_instance = os.environ["DEPLOYMENT_INSTANCE"]
object_metadata_table_instance = os.environ["STORAGE_DEPLOYMENT_INSTANCE"]
peh_table_instance = os.environ["DATASET_DEPLOYMENT_INSTANCE"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
dataset = os.environ["DATASET"]
pipeline = os.environ["PIPELINE"]
pipeline_stage = os.environ["PIPELINE_STAGE"]
org = os.environ["ORG"]
domain = os.environ["DOMAIN"]
storage_deployment_instance = os.environ["STORAGE_DEPLOYMENT_INSTANCE"]


Expand Down
2 changes: 0 additions & 2 deletions sdlf-stage-lambda/src/lambda/routing/src/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
dataset = os.environ["DATASET"]
pipeline = os.environ["PIPELINE"]
pipeline_stage = os.environ["PIPELINE_STAGE"]
org = os.environ["ORG"]
domain = os.environ["DOMAIN"]
deployment_instance = os.environ["DEPLOYMENT_INSTANCE"]
object_metadata_table_instance = os.environ["STORAGE_DEPLOYMENT_INSTANCE"]
peh_table_instance = os.environ["DATASET_DEPLOYMENT_INSTANCE"]
Expand Down

0 comments on commit 1877ae3

Please sign in to comment.