-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
434ede5
commit be23f25
Showing
9 changed files
with
65 additions
and
281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Terraform script to create the PDS archive related resources | ||
|
||
# Create a hot S3 archive bucket for each PDS Node | ||
resource "aws_s3_bucket" "pds_nucleus_hot_archive_bucket" { | ||
count = length(var.pds_node_names) | ||
# convert PDS node name to S3 bucket name compatible format | ||
bucket = "${lower(replace(var.pds_node_names[count.index], "_", "-"))}-${var.pds_nucleus_archive_hot_bucket_name_postfix}" | ||
} | ||
|
||
# Create a hot S3 archive bucket for each PDS Node | ||
resource "aws_s3_bucket" "pds_nucleus_col_archive_bucket" { | ||
count = length(var.pds_node_names) | ||
# convert PDS node name to S3 bucket name compatible format | ||
bucket = "${lower(replace(var.pds_node_names[count.index], "_", "-"))}-${var.pds_nucleus_archive_cold_bucket_name_postfix}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
variable "pds_node_names" { | ||
description = "List of PDS Node Names" | ||
type = list(string) | ||
sensitive = true | ||
} | ||
|
||
variable "pds_nucleus_archive_hot_bucket_name_postfix" { | ||
description = "The postfix of the name of the S3 archive hot bucket to receive data to be processed" | ||
default = "archive-hot-<venue-name>" | ||
type = string | ||
sensitive = true | ||
} | ||
|
||
variable "pds_nucleus_archive_cold_bucket_name_postfix" { | ||
description = "The postfix of the name of the S3 archive cold bucket to receive data to be processed" | ||
default = "archive-hot-<venue-name>" | ||
type = string | ||
sensitive = true | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
terraform/terraform-modules/ecs-ecr/docker/deploy-ecr-images.sh
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
terraform/terraform-modules/ecs-ecr/ecs_task_execution_role_iam_policy.json
This file was deleted.
Oops, something went wrong.
55 changes: 0 additions & 55 deletions
55
terraform/terraform-modules/ecs-ecr/ecs_task_role_iam_policy.json
This file was deleted.
Oops, something went wrong.
144 changes: 0 additions & 144 deletions
144
terraform/terraform-modules/mwaa-env/mwaa_execution_role_iam_policy.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters