Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS China Support #97

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion terraform/aws/iglu_server/default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
|------|--------|---------|
| <a name="module_iglu_lb"></a> [iglu\_lb](#module\_iglu\_lb) | snowplow-devops/alb/aws | 0.2.0 |
| <a name="module_iglu_rds"></a> [iglu\_rds](#module\_iglu\_rds) | snowplow-devops/rds/aws | 0.4.0 |
| <a name="module_iglu_server"></a> [iglu\_server](#module\_iglu\_server) | snowplow-devops/iglu-server-ec2/aws | 0.5.0 |
| <a name="module_iglu_server"></a> [iglu\_server](#module\_iglu\_server) | snowplow-devops/iglu-server-ec2/aws | 0.5.1 |

## Resources

Expand All @@ -43,6 +43,7 @@
| <a name="input_cloudwatch_logs_enabled"></a> [cloudwatch\_logs\_enabled](#input\_cloudwatch\_logs\_enabled) | Whether application logs should be reported to CloudWatch | `bool` | `true` | no |
| <a name="input_cloudwatch_logs_retention_days"></a> [cloudwatch\_logs\_retention\_days](#input\_cloudwatch\_logs\_retention\_days) | The length of time in days to retain logs for | `number` | `7` | no |
| <a name="input_iam_permissions_boundary"></a> [iam\_permissions\_boundary](#input\_iam\_permissions\_boundary) | The permissions boundary ARN to set on IAM roles created | `string` | `""` | no |
| <a name="input_private_ecr_registry"></a> [private\_ecr\_registry](#input\_private\_ecr\_registry) | The URL of an ECR registry that the sub-account has access to (e.g. '000000000000.dkr.ecr.cn-north-1.amazonaws.com.cn/') | `string` | `""` | no |
| <a name="input_ssl_information"></a> [ssl\_information](#input\_ssl\_information) | The ARN of an Amazon Certificate Manager certificate to bind to the load balancer | <pre>object({<br> enabled = bool<br> certificate_arn = string<br> })</pre> | <pre>{<br> "certificate_arn": "",<br> "enabled": false<br>}</pre> | no |
| <a name="input_tags"></a> [tags](#input\_tags) | The tags to append to the resources in this module | `map(string)` | `{}` | no |
| <a name="input_telemetry_enabled"></a> [telemetry\_enabled](#input\_telemetry\_enabled) | Whether or not to send telemetry information back to Snowplow Analytics Ltd | `bool` | `true` | no |
Expand Down
4 changes: 3 additions & 1 deletion terraform/aws/iglu_server/default/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module "iglu_lb" {

module "iglu_server" {
source = "snowplow-devops/iglu-server-ec2/aws"
version = "0.5.0"
version = "0.5.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -70,4 +70,6 @@ module "iglu_server" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}
3 changes: 3 additions & 0 deletions terraform/aws/iglu_server/default/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ tags = {}
# --- CloudWatch logging to ensure logs are saved outside of the server
cloudwatch_logs_enabled = true
cloudwatch_logs_retention_days = 7

# --- Image Repositories
private_ecr_registry = ""
6 changes: 6 additions & 0 deletions terraform/aws/iglu_server/default/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,9 @@ variable "cloudwatch_logs_retention_days" {
default = 7
type = number
}

variable "private_ecr_registry" {
description = "The URL of an ECR registry that the sub-account has access to (e.g. '000000000000.dkr.ecr.cn-north-1.amazonaws.com.cn/')"
type = string
default = ""
}
3 changes: 2 additions & 1 deletion terraform/aws/iglu_server/secure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
|------|--------|---------|
| <a name="module_iglu_lb"></a> [iglu\_lb](#module\_iglu\_lb) | snowplow-devops/alb/aws | 0.2.0 |
| <a name="module_iglu_rds"></a> [iglu\_rds](#module\_iglu\_rds) | snowplow-devops/rds/aws | 0.4.0 |
| <a name="module_iglu_server"></a> [iglu\_server](#module\_iglu\_server) | snowplow-devops/iglu-server-ec2/aws | 0.5.0 |
| <a name="module_iglu_server"></a> [iglu\_server](#module\_iglu\_server) | snowplow-devops/iglu-server-ec2/aws | 0.5.1 |

## Resources

Expand All @@ -44,6 +44,7 @@
| <a name="input_cloudwatch_logs_enabled"></a> [cloudwatch\_logs\_enabled](#input\_cloudwatch\_logs\_enabled) | Whether application logs should be reported to CloudWatch | `bool` | `true` | no |
| <a name="input_cloudwatch_logs_retention_days"></a> [cloudwatch\_logs\_retention\_days](#input\_cloudwatch\_logs\_retention\_days) | The length of time in days to retain logs for | `number` | `7` | no |
| <a name="input_iam_permissions_boundary"></a> [iam\_permissions\_boundary](#input\_iam\_permissions\_boundary) | The permissions boundary ARN to set on IAM roles created | `string` | `""` | no |
| <a name="input_private_ecr_registry"></a> [private\_ecr\_registry](#input\_private\_ecr\_registry) | The URL of an ECR registry that the sub-account has access to (e.g. '000000000000.dkr.ecr.cn-north-1.amazonaws.com.cn/') | `string` | `""` | no |
| <a name="input_ssl_information"></a> [ssl\_information](#input\_ssl\_information) | The ARN of an Amazon Certificate Manager certificate to bind to the load balancer | <pre>object({<br> enabled = bool<br> certificate_arn = string<br> })</pre> | <pre>{<br> "certificate_arn": "",<br> "enabled": false<br>}</pre> | no |
| <a name="input_tags"></a> [tags](#input\_tags) | The tags to append to the resources in this module | `map(string)` | `{}` | no |
| <a name="input_telemetry_enabled"></a> [telemetry\_enabled](#input\_telemetry\_enabled) | Whether or not to send telemetry information back to Snowplow Analytics Ltd | `bool` | `true` | no |
Expand Down
4 changes: 3 additions & 1 deletion terraform/aws/iglu_server/secure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module "iglu_lb" {

module "iglu_server" {
source = "snowplow-devops/iglu-server-ec2/aws"
version = "0.5.0"
version = "0.5.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -72,4 +72,6 @@ module "iglu_server" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}
3 changes: 3 additions & 0 deletions terraform/aws/iglu_server/secure/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ tags = {}
# --- CloudWatch logging to ensure logs are saved outside of the server
cloudwatch_logs_enabled = true
cloudwatch_logs_retention_days = 7

# --- Image Repositories
private_ecr_registry = ""
6 changes: 6 additions & 0 deletions terraform/aws/iglu_server/secure/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,9 @@ variable "cloudwatch_logs_retention_days" {
default = 7
type = number
}

variable "private_ecr_registry" {
description = "The URL of an ECR registry that the sub-account has access to (e.g. '000000000000.dkr.ecr.cn-north-1.amazonaws.com.cn/')"
type = string
default = ""
}
29 changes: 15 additions & 14 deletions terraform/aws/pipeline/default/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@
|------|--------|---------|
| <a name="module_bad_1_stream"></a> [bad\_1\_stream](#module\_bad\_1\_stream) | snowplow-devops/kinesis-stream/aws | 0.3.0 |
| <a name="module_bad_2_stream"></a> [bad\_2\_stream](#module\_bad\_2\_stream) | snowplow-devops/kinesis-stream/aws | 0.3.0 |
| <a name="module_collector_kinesis"></a> [collector\_kinesis](#module\_collector\_kinesis) | snowplow-devops/collector-kinesis-ec2/aws | 0.9.0 |
| <a name="module_collector_kinesis"></a> [collector\_kinesis](#module\_collector\_kinesis) | snowplow-devops/collector-kinesis-ec2/aws | 0.9.1 |
| <a name="module_collector_lb"></a> [collector\_lb](#module\_collector\_lb) | snowplow-devops/alb/aws | 0.2.0 |
| <a name="module_db_loader"></a> [db\_loader](#module\_db\_loader) | snowplow-devops/databricks-loader-ec2/aws | 0.2.0 |
| <a name="module_db_transformer_wrp"></a> [db\_transformer\_wrp](#module\_db\_transformer\_wrp) | snowplow-devops/transformer-kinesis-ec2/aws | 0.4.0 |
| <a name="module_enrich_kinesis"></a> [enrich\_kinesis](#module\_enrich\_kinesis) | snowplow-devops/enrich-kinesis-ec2/aws | 0.6.0 |
| <a name="module_db_loader"></a> [db\_loader](#module\_db\_loader) | snowplow-devops/databricks-loader-ec2/aws | 0.2.1 |
| <a name="module_db_transformer_wrp"></a> [db\_transformer\_wrp](#module\_db\_transformer\_wrp) | snowplow-devops/transformer-kinesis-ec2/aws | 0.4.1 |
| <a name="module_enrich_kinesis"></a> [enrich\_kinesis](#module\_enrich\_kinesis) | snowplow-devops/enrich-kinesis-ec2/aws | 0.6.1 |
| <a name="module_enriched_stream"></a> [enriched\_stream](#module\_enriched\_stream) | snowplow-devops/kinesis-stream/aws | 0.3.0 |
| <a name="module_postgres_loader_bad"></a> [postgres\_loader\_bad](#module\_postgres\_loader\_bad) | snowplow-devops/postgres-loader-kinesis-ec2/aws | 0.5.0 |
| <a name="module_postgres_loader_enriched"></a> [postgres\_loader\_enriched](#module\_postgres\_loader\_enriched) | snowplow-devops/postgres-loader-kinesis-ec2/aws | 0.5.0 |
| <a name="module_postgres_loader_bad"></a> [postgres\_loader\_bad](#module\_postgres\_loader\_bad) | snowplow-devops/postgres-loader-kinesis-ec2/aws | 0.5.1 |
| <a name="module_postgres_loader_enriched"></a> [postgres\_loader\_enriched](#module\_postgres\_loader\_enriched) | snowplow-devops/postgres-loader-kinesis-ec2/aws | 0.5.1 |
| <a name="module_postgres_loader_rds"></a> [postgres\_loader\_rds](#module\_postgres\_loader\_rds) | snowplow-devops/rds/aws | 0.4.0 |
| <a name="module_raw_stream"></a> [raw\_stream](#module\_raw\_stream) | snowplow-devops/kinesis-stream/aws | 0.3.0 |
| <a name="module_rs_loader"></a> [rs\_loader](#module\_rs\_loader) | snowplow-devops/redshift-loader-ec2/aws | 0.2.0 |
| <a name="module_rs_transformer_stsv"></a> [rs\_transformer\_stsv](#module\_rs\_transformer\_stsv) | snowplow-devops/transformer-kinesis-ec2/aws | 0.4.0 |
| <a name="module_s3_loader_bad"></a> [s3\_loader\_bad](#module\_s3\_loader\_bad) | snowplow-devops/s3-loader-kinesis-ec2/aws | 0.5.0 |
| <a name="module_s3_loader_enriched"></a> [s3\_loader\_enriched](#module\_s3\_loader\_enriched) | snowplow-devops/s3-loader-kinesis-ec2/aws | 0.5.0 |
| <a name="module_s3_loader_raw"></a> [s3\_loader\_raw](#module\_s3\_loader\_raw) | snowplow-devops/s3-loader-kinesis-ec2/aws | 0.5.0 |
| <a name="module_rs_loader"></a> [rs\_loader](#module\_rs\_loader) | snowplow-devops/redshift-loader-ec2/aws | 0.2.1 |
| <a name="module_rs_transformer_stsv"></a> [rs\_transformer\_stsv](#module\_rs\_transformer\_stsv) | snowplow-devops/transformer-kinesis-ec2/aws | 0.4.1 |
| <a name="module_s3_loader_bad"></a> [s3\_loader\_bad](#module\_s3\_loader\_bad) | snowplow-devops/s3-loader-kinesis-ec2/aws | 0.5.1 |
| <a name="module_s3_loader_enriched"></a> [s3\_loader\_enriched](#module\_s3\_loader\_enriched) | snowplow-devops/s3-loader-kinesis-ec2/aws | 0.5.1 |
| <a name="module_s3_loader_raw"></a> [s3\_loader\_raw](#module\_s3\_loader\_raw) | snowplow-devops/s3-loader-kinesis-ec2/aws | 0.5.1 |
| <a name="module_s3_pipeline_bucket"></a> [s3\_pipeline\_bucket](#module\_s3\_pipeline\_bucket) | snowplow-devops/s3-bucket/aws | 0.2.0 |
| <a name="module_sf_loader"></a> [sf\_loader](#module\_sf\_loader) | snowplow-devops/snowflake-loader-ec2/aws | 0.3.0 |
| <a name="module_sf_transformer_wrj"></a> [sf\_transformer\_wrj](#module\_sf\_transformer\_wrj) | snowplow-devops/transformer-kinesis-ec2/aws | 0.4.0 |
| <a name="module_snowflake_streaming_loader_enriched"></a> [snowflake\_streaming\_loader\_enriched](#module\_snowflake\_streaming\_loader\_enriched) | snowplow-devops/snowflake-streaming-loader-ec2/aws | 0.1.0 |
| <a name="module_sf_loader"></a> [sf\_loader](#module\_sf\_loader) | snowplow-devops/snowflake-loader-ec2/aws | 0.3.1 |
| <a name="module_sf_transformer_wrj"></a> [sf\_transformer\_wrj](#module\_sf\_transformer\_wrj) | snowplow-devops/transformer-kinesis-ec2/aws | 0.4.1 |
| <a name="module_snowflake_streaming_loader_enriched"></a> [snowflake\_streaming\_loader\_enriched](#module\_snowflake\_streaming\_loader\_enriched) | snowplow-devops/snowflake-streaming-loader-ec2/aws | 0.1.2 |

## Resources

Expand Down Expand Up @@ -79,6 +79,7 @@
| <a name="input_postgres_db_password"></a> [postgres\_db\_password](#input\_postgres\_db\_password) | The password to use to connect to the database | `string` | `""` | no |
| <a name="input_postgres_db_publicly_accessible"></a> [postgres\_db\_publicly\_accessible](#input\_postgres\_db\_publicly\_accessible) | Whether to make the Postgres RDS instance accessible over the internet | `bool` | `false` | no |
| <a name="input_postgres_db_username"></a> [postgres\_db\_username](#input\_postgres\_db\_username) | The username to use to connect to the database | `string` | `""` | no |
| <a name="input_private_ecr_registry"></a> [private\_ecr\_registry](#input\_private\_ecr\_registry) | The URL of an ECR registry that the sub-account has access to (e.g. '000000000000.dkr.ecr.cn-north-1.amazonaws.com.cn/') | `string` | `""` | no |
| <a name="input_redshift_database"></a> [redshift\_database](#input\_redshift\_database) | Redshift database name | `string` | `""` | no |
| <a name="input_redshift_enabled"></a> [redshift\_enabled](#input\_redshift\_enabled) | Whether to enable loading into a Redshift Database | `bool` | `false` | no |
| <a name="input_redshift_host"></a> [redshift\_host](#input\_redshift\_host) | Redshift cluster hostname | `string` | `""` | no |
Expand Down
8 changes: 6 additions & 2 deletions terraform/aws/pipeline/default/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module "collector_lb" {

module "collector_kinesis" {
source = "snowplow-devops/collector-kinesis-ec2/aws"
version = "0.9.0"
version = "0.9.1"

accept_limited_use_license = var.accept_limited_use_license

Expand All @@ -113,12 +113,14 @@ module "collector_kinesis" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}

# 3. Deploy Enrichment
module "enrich_kinesis" {
source = "snowplow-devops/enrich-kinesis-ec2/aws"
version = "0.6.0"
version = "0.6.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -148,4 +150,6 @@ module "enrich_kinesis" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}
12 changes: 9 additions & 3 deletions terraform/aws/pipeline/default/target_amazon_s3.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "s3_loader_raw" {
source = "snowplow-devops/s3-loader-kinesis-ec2/aws"
version = "0.5.0"
version = "0.5.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -28,11 +28,13 @@ module "s3_loader_raw" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}

module "s3_loader_bad" {
source = "snowplow-devops/s3-loader-kinesis-ec2/aws"
version = "0.5.0"
version = "0.5.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -63,11 +65,13 @@ module "s3_loader_bad" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}

module "s3_loader_enriched" {
source = "snowplow-devops/s3-loader-kinesis-ec2/aws"
version = "0.5.0"
version = "0.5.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -97,4 +101,6 @@ module "s3_loader_enriched" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}
8 changes: 6 additions & 2 deletions terraform/aws/pipeline/default/target_databricks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_sqs_queue" "db_message_queue" {

module "db_transformer_wrp" {
source = "snowplow-devops/transformer-kinesis-ec2/aws"
version = "0.4.0"
version = "0.4.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -44,11 +44,13 @@ module "db_transformer_wrp" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}

module "db_loader" {
source = "snowplow-devops/databricks-loader-ec2/aws"
version = "0.2.0"
version = "0.2.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -82,4 +84,6 @@ module "db_loader" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}
8 changes: 6 additions & 2 deletions terraform/aws/pipeline/default/target_postgres.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module "postgres_loader_rds" {

module "postgres_loader_enriched" {
source = "snowplow-devops/postgres-loader-kinesis-ec2/aws"
version = "0.5.0"
version = "0.5.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -59,11 +59,13 @@ module "postgres_loader_enriched" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}

module "postgres_loader_bad" {
source = "snowplow-devops/postgres-loader-kinesis-ec2/aws"
version = "0.5.0"
version = "0.5.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -101,4 +103,6 @@ module "postgres_loader_bad" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}
8 changes: 6 additions & 2 deletions terraform/aws/pipeline/default/target_redshift.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_sqs_queue" "rs_message_queue" {

module "rs_transformer_stsv" {
source = "snowplow-devops/transformer-kinesis-ec2/aws"
version = "0.4.0"
version = "0.4.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -44,11 +44,13 @@ module "rs_transformer_stsv" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}

module "rs_loader" {
source = "snowplow-devops/redshift-loader-ec2/aws"
version = "0.2.0"
version = "0.2.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -82,4 +84,6 @@ module "rs_loader" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}
8 changes: 6 additions & 2 deletions terraform/aws/pipeline/default/target_snowflake.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_sqs_queue" "sf_message_queue" {

module "sf_transformer_wrj" {
source = "snowplow-devops/transformer-kinesis-ec2/aws"
version = "0.4.0"
version = "0.4.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -44,11 +44,13 @@ module "sf_transformer_wrj" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}

module "sf_loader" {
source = "snowplow-devops/snowflake-loader-ec2/aws"
version = "0.3.0"
version = "0.3.1"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -83,4 +85,6 @@ module "sf_loader" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}
4 changes: 3 additions & 1 deletion terraform/aws/pipeline/default/target_snowflake_streaming.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "snowflake_streaming_loader_enriched" {
source = "snowplow-devops/snowflake-streaming-loader-ec2/aws"
version = "0.1.0"
version = "0.1.2"

accept_limited_use_license = var.accept_limited_use_license

Expand Down Expand Up @@ -33,4 +33,6 @@ module "snowflake_streaming_loader_enriched" {

cloudwatch_logs_enabled = var.cloudwatch_logs_enabled
cloudwatch_logs_retention_days = var.cloudwatch_logs_retention_days

private_ecr_registry = var.private_ecr_registry
}
3 changes: 3 additions & 0 deletions terraform/aws/pipeline/default/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,6 @@ cloudwatch_logs_retention_days = 7

# Extra Tags to append to created resources (optional)
tags = {}

# Image Repositories
private_ecr_registry = ""
6 changes: 6 additions & 0 deletions terraform/aws/pipeline/default/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ variable "cloudwatch_logs_retention_days" {
type = number
}

variable "private_ecr_registry" {
description = "The URL of an ECR registry that the sub-account has access to (e.g. '000000000000.dkr.ecr.cn-north-1.amazonaws.com.cn/')"
type = string
default = ""
}

# --- Target: Amazon S3

variable "s3_raw_enabled" {
Expand Down
Loading
Loading