Skip to content

Commit

Permalink
adding required outputs for manifests secrets work (#1604)
Browse files Browse the repository at this point in the history
* adding required outputs for manifests secrets work

* marking endpoints as sensitive
  • Loading branch information
P0NDER0SA authored Oct 18, 2024
1 parent 53f30ec commit 7b918b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions aws/elasticache/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ output "redis_cluster_security_group_id" {
description = "ID of the cluster's dedicated security group. Currenly this is created in Staging only."
value = var.env == "staging" ? aws_security_group.redis_cluster[0].id : ""
}

output "redis_primary_endpoint_address" {
description = "The address of the primary node for the cluster"
value = aws_elasticache_replication_group.notification-cluster-cache-multiaz-group.primary_endpoint_address
sensitive = true
}
4 changes: 4 additions & 0 deletions aws/rds/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ output "database_subnet_ids" {
output "rds_instance_id" {
value = aws_rds_cluster_instance.notification-canada-ca-instances[0].identifier
}
output "cluster_endpoint" {
value = aws_rds_cluster.notification-canada-ca.endpoint
sensitive = true
}

0 comments on commit 7b918b4

Please sign in to comment.