Skip to content

Commit

Permalink
fix: update dependencies (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckappen authored Jun 2, 2023
1 parent 5ee12b5 commit 2c23fe0
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ such as extended backups, user management, and autoscaling.

| Name | Description |
|------|-------------|
| <a name="output_cluster_endpoint"></a> [cluster\_endpoint](#output\_cluster\_endpoint) | n/a |
| <a name="output_instance_endpoint"></a> [instance\_endpoint](#output\_instance\_endpoint) | n/a |
| <a name="output_cluster_endpoint"></a> [cluster\_endpoint](#output\_cluster\_endpoint) | The cluster endpoint |
| <a name="output_instance_endpoint"></a> [instance\_endpoint](#output\_instance\_endpoint) | The instance endpoint |

## Providers

Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ module "db_event_subscription" {
module "backup" {
count = var.enable_enhanced_backups ? 1 : 0

source = "github.com/geekcell/terraform-aws-backup?ref=main"
source = "github.com/geekcell/terraform-aws-backup?ref=v1"

# Vault name for this backup
vault_name = "${var.cluster_identifier}-rds"
Expand Down
2 changes: 1 addition & 1 deletion modules/db_event_subscription/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "aws_db_event_subscription" "main" {
}

module "notification" {
source = "github.com/geekcell/terraform-aws-sns-email-notification?ref=v1.1"
source = "github.com/geekcell/terraform-aws-sns-email-notification?ref=v1"

name = var.name
email_addresses = var.recipients
Expand Down
2 changes: 1 addition & 1 deletion modules/db_proxy_secret/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "aws_secretsmanager_secret_version" "main" {
}

module "kms" {
source = "github.com/geekcell/terraform-aws-kms?ref=main"
source = "github.com/geekcell/terraform-aws-kms?ref=v1"

alias = var.name

Expand Down
6 changes: 3 additions & 3 deletions modules/rds_cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@

| Name | Description |
|------|-------------|
| <a name="output_arn"></a> [arn](#output\_arn) | n/a |
| <a name="output_endpoint"></a> [endpoint](#output\_endpoint) | n/a |
| <a name="output_id"></a> [id](#output\_id) | n/a |
| <a name="output_arn"></a> [arn](#output\_arn) | The ARN of the cluster |
| <a name="output_endpoint"></a> [endpoint](#output\_endpoint) | The cluster endpoint |
| <a name="output_id"></a> [id](#output\_id) | The ID of the cluster |

## Providers

Expand Down
2 changes: 1 addition & 1 deletion modules/rds_cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module "autoscaling" {

module "kms" {
for_each = toset(["storage"])
source = "github.com/geekcell/terraform-aws-kms?ref=main"
source = "github.com/geekcell/terraform-aws-kms?ref=v1"
alias = format("/rds/cluster/%s/%s", var.cluster_identifier, each.key)
}

Expand Down
9 changes: 6 additions & 3 deletions modules/rds_cluster/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
output "arn" {
value = aws_rds_cluster.main.arn
description = "The ARN of the cluster"
value = aws_rds_cluster.main.arn
}

output "id" {
value = aws_rds_cluster.main.id
description = "The ID of the cluster"
value = aws_rds_cluster.main.id
}

output "endpoint" {
value = aws_rds_cluster.main.endpoint
description = "The cluster endpoint"
value = aws_rds_cluster.main.endpoint
}
2 changes: 1 addition & 1 deletion modules/rds_cluster_instance/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module "db_enhanced_monitoring" {
module "kms" {
for_each = toset(["performance_insights"])

source = "github.com/geekcell/terraform-aws-kms?ref=main"
source = "github.com/geekcell/terraform-aws-kms?ref=v1"
alias = format("alias/rds/cluster/%s/instance/%s/%s", var.identifier, var.identifier, each.key)
}

Expand Down
6 changes: 4 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
output "cluster_endpoint" {
value = module.rds_cluster.endpoint
description = "The cluster endpoint"
value = module.rds_cluster.endpoint
}

output "instance_endpoint" {
value = module.rds_cluster_instance.endpoint
description = "The instance endpoint"
value = module.rds_cluster_instance.endpoint
}

0 comments on commit 2c23fe0

Please sign in to comment.