Skip to content

Commit 869a1cd

Browse files
1 parent 7334d48 commit 869a1cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

terraform/modules/sql-to-rds-snapshot/10-ecs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ locals {
33
{ name : "MYSQL_HOST", value : aws_db_instance.ingestion_db.address },
44
{ name : "MYSQL_USER", value : aws_db_instance.ingestion_db.username },
55
{ name : "MYSQL_PASS", value : random_password.rds_password.result },
6-
{ name : "RDS_INSTANCE_ID", value : aws_db_instance.ingestion_db.id },
6+
{ name : "RDS_INSTANCE_ID", value : aws_db_instance.ingestion_db.identifier },
77
{ name : "BUCKET_NAME", value : var.watched_bucket_name },
88
]
99

@@ -71,7 +71,7 @@ module "sql_to_parquet" {
7171
{ name : "MYSQL_HOST", value : aws_db_instance.ingestion_db.address },
7272
{ name : "MYSQL_USER", value : aws_db_instance.ingestion_db.username },
7373
{ name : "MYSQL_PASS", value : random_password.rds_password.result },
74-
{ name : "RDS_INSTANCE_ID", value : aws_db_instance.ingestion_db.id },
74+
{ name : "RDS_INSTANCE_ID", value : aws_db_instance.ingestion_db.identifier },
7575
{ name : "BUCKET_NAME", value : var.watched_bucket_name },
7676
]
7777
}

terraform/modules/sql-to-rds-snapshot/99-outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ output "ecr_repository_worker_endpoint" {
55
}
66

77
output "rds_instance_id" {
8-
value = aws_db_instance.ingestion_db.id
8+
value = aws_db_instance.ingestion_db.identifier
99
}
1010

1111
output "cloudwatch_event_rule_name" {

0 commit comments

Comments
 (0)