Skip to content

Commit

Permalink
ADD pds_registry_loader_harvest_task_role_arn and pds_nucleus_opensea…
Browse files Browse the repository at this point in the history
…rch_credential_relative_url as variables
  • Loading branch information
ramesh-maddegoda committed Nov 7, 2024
1 parent 959c754 commit fc2eff0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
8 changes: 5 additions & 3 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ module "ecs_ecr" {

pds_registry_loader_harvest_cloudwatch_logs_group = var.pds_registry_loader_harvest_cloudwatch_logs_group
pds_registry_loader_harvest_cloudwatch_logs_region = var.region
pds_registry_loader_harvest_task_role_arn = var.pds_registry_loader_harvest_task_role_arn

pds_validate_cloudwatch_logs_group = var.pds_validate_cloudwatch_logs_group
pds_validate_cloudwatch_logs_region = var.region
Expand Down Expand Up @@ -100,9 +101,10 @@ module "product-copy-completion-checker" {
pds_nucleus_hot_archive_bucket_name_postfix = var.pds_nucleus_hot_archive_bucket_name_postfix
pds_nucleus_cold_archive_bucket_name_postfix = var.pds_nucleus_cold_archive_bucket_name_postfix

pds_node_names = var.pds_node_names
pds_nucleus_opensearch_urls = var.pds_nucleus_opensearch_urls
pds_nucleus_harvest_replace_prefix_with_list = var.pds_nucleus_harvest_replace_prefix_with_list
pds_node_names = var.pds_node_names
pds_nucleus_opensearch_urls = var.pds_nucleus_opensearch_urls
pds_nucleus_opensearch_credential_relative_url = var.pds_nucleus_opensearch_credential_relative_url
pds_nucleus_harvest_replace_prefix_with_list = var.pds_nucleus_harvest_replace_prefix_with_list

database_availability_zones = var.database_availability_zones
airflow_env_name = var.airflow_env_name
Expand Down
13 changes: 12 additions & 1 deletion terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,12 @@ variable "pds_node_names" {
variable "pds_nucleus_opensearch_urls" {
description = "List of PDS Nucleus OpenSearch Config file paths"
type = list(string)
default = ["https://search-sbnpsi-abcde.us-west-2.es.amazonaws.com:443","https://search-img-abcde.us-west-2.es.amazonaws.com:443"]
sensitive = true
}

variable "pds_nucleus_opensearch_credential_relative_url" {
description = "List of PDS Nucleus OpenSearch Credential Relative URL"
type = string
sensitive = true
}

Expand All @@ -111,6 +116,12 @@ variable "pds_nucleus_harvest_replace_prefix_with_list" {
default = ["s3://pds-nucleus-staging-sbn","s3://pds-nucleus-staging-img"]
}

variable "pds_registry_loader_harvest_task_role_arn" {
type = string
description = "PDS Registry Loader Harvest Task Role ARN"
sensitive = true
}

variable "aws_secretmanager_key_arn" {
description = "The ARN of aws/secretsmanager key"
type = string
Expand Down

0 comments on commit fc2eff0

Please sign in to comment.