Skip to content

Commit 6f1dbe3

Browse files
committed
[NRL-1996] Remove perms lambda layer from acc-wide infra deploy
1 parent a744055 commit 6f1dbe3

File tree

5 files changed

+0
-21
lines changed

5 files changed

+0
-21
lines changed

.github/workflows/deploy-account-wide-infra.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,6 @@ jobs:
6565
role-to-assume: ${{ secrets.MGMT_ROLE_ARN }}
6666
role-session-name: github-actions-ci-${{ inputs.environment }}-${{ github.run_id }}
6767

68-
- name: Add S3 Permissions to Lambda Layer
69-
env:
70-
ACCOUNT_NAME: ${{ vars.ACCOUNT_NAME }}
71-
run: |
72-
make get-s3-perms ENV=${ACCOUNT_NAME}
73-
7468
- name: Retrieve Server Certificates
7569
env:
7670
ACCOUNT_NAME: ${{ vars.ACCOUNT_NAME }}

terraform/account-wide-infrastructure/dev/lambda__seed-sandbox.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ module "seed_sandbox_lambda" {
2020
layers = [
2121
module.shared_lambda_layers.nrlf_layer_arn,
2222
module.shared_lambda_layers.third_party_layer_arn,
23-
module.shared_lambda_layers.nrlf_permissions_layer_arn
2423
]
2524

2625
table_names = local.seed_table_names

terraform/account-wide-infrastructure/modules/lambda-layers/layers.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,3 @@ resource "aws_lambda_layer_version" "third_party" {
2323
compatible_runtimes = ["python3.12"]
2424
description = "Third party dependencies layer (account-wide)"
2525
}
26-
27-
resource "aws_lambda_layer_version" "nrlf_permissions" {
28-
layer_name = "${var.name_prefix}--nrlf-permissions-layer"
29-
filename = "${local.dist_dir}/${local.layer_zips.nrlf_permissions}"
30-
source_code_hash = filebase64sha256("${local.dist_dir}/${local.layer_zips.nrlf_permissions}")
31-
compatible_runtimes = ["python3.12"]
32-
description = "NRLF permissions library layer (account-wide)"
33-
}

terraform/account-wide-infrastructure/modules/lambda-layers/outputs.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,3 @@ output "third_party_layer_arn" {
77
description = "ARN of the third party dependencies Lambda layer"
88
value = aws_lambda_layer_version.third_party.arn
99
}
10-
11-
output "nrlf_permissions_layer_arn" {
12-
description = "ARN of the NRLF permissions Lambda layer"
13-
value = aws_lambda_layer_version.nrlf_permissions.arn
14-
}

terraform/account-wide-infrastructure/test/lambda__seed-sandbox.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ module "seed_sandbox_lambda" {
2121
layers = [
2222
module.shared_lambda_layers.nrlf_layer_arn,
2323
module.shared_lambda_layers.third_party_layer_arn,
24-
module.shared_lambda_layers.nrlf_permissions_layer_arn
2524
]
2625

2726
table_names = local.seed_table_names

0 commit comments

Comments
 (0)