Skip to content

Commit 6372a20

Browse files
committed
cleanup
1 parent a2b9def commit 6372a20

File tree

13 files changed

+8
-73
lines changed

13 files changed

+8
-73
lines changed

infrastructure/terraform/components/acct/module_sandbox_kms.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,4 @@ module "kms_sandbox" {
1313
deletion_window = var.kms_deletion_window
1414
alias = "alias/${local.csi}-sandbox"
1515
iam_delegation = true
16-
17-
key_policy_documents = [
18-
aws_iam_policy_document.kms
19-
]
2016
}

infrastructure/terraform/components/acct/outputs.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ output "github_pat_ssm_param_name" {
1212

1313
output "s3_buckets" {
1414
value = {
15-
access_logs = {
16-
arn = module.s3bucket_access_logs.arn
17-
bucket = module.s3bucket_access_logs.bucket
18-
id = module.s3bucket_access_logs.id
19-
}
2015
backup_reports = {
2116
arn = module.s3bucket_backup_reports.arn
2217
bucket = module.s3bucket_backup_reports.bucket

infrastructure/terraform/components/app/cloudfront_distribution_main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#trivy:ignore:AVD-AWS-0010 todo?
21
resource "aws_cloudfront_distribution" "main" {
32
provider = aws.us-east-1
43

infrastructure/terraform/components/app/cloudfront_origin_access_control.tf

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# npm ci
1+
npm ci
22

3-
# npm run generate-dependencies --workspaces --if-present
3+
npm run generate-dependencies --workspaces --if-present
44

5-
# $(git rev-parse --show-toplevel)/lambdas/layers/pdfjs/build.sh
5+
$(git rev-parse --show-toplevel)/lambdas/layers/pdfjs/build.sh

infrastructure/terraform/components/app/route53_record_cloudfront.tf

Lines changed: 0 additions & 11 deletions
This file was deleted.

infrastructure/terraform/components/sandbox/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
## Requirements
66

7-
| Name | Version |
8-
|------|---------|
9-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.9.0 |
10-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 5.50 |
7+
No requirements.
118
## Inputs
129

1310
| Name | Description | Type | Default | Required |

infrastructure/terraform/components/sandbox/locals_tfscaffold.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,4 @@ locals {
2020
Name = local.csi
2121
},
2222
)
23-
24-
terraform_state_bucket = format(
25-
"%s-tfscaffold-%s-%s",
26-
var.project,
27-
var.aws_account_id,
28-
var.region,
29-
)
3023
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
if [ -z "$SKIP_SANDBOX_INSTALL" ]; then npm ci; fi
22

3-
# npm run generate-dependencies --workspaces --if-present
3+
npm run generate-dependencies --workspaces --if-present

infrastructure/terraform/components/sandbox/provider_aws.tf

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,3 @@ provider "aws" {
99
tags = local.default_tags
1010
}
1111
}
12-
13-
# Add the us-east-1 provider for CloudFront
14-
provider "aws" {
15-
alias = "us-east-1"
16-
region = "us-east-1"
17-
18-
allowed_account_ids = [
19-
var.aws_account_id,
20-
]
21-
22-
default_tags {
23-
tags = local.default_tags
24-
}
25-
}

0 commit comments

Comments
 (0)