Skip to content

Commit

Permalink
fixing resource name
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Drigo authored and Leonardo Drigo committed Nov 9, 2023
1 parent 9e92078 commit 1afef3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion modules/endpoints_s3_dlt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ No modules.

| Name | Type |
|------|------|
| [aws_dms_dlt_s3_endpoint.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dms_s3_endpoint) | resource |
| [aws_dms_s3_endpoint.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dms_s3_endpoint) | resource |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion modules/endpoints_s3_dlt/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource "aws_dms_dlt_s3_endpoint" "this" {
resource "aws_dms_s3_endpoint" "this" {
count = var.create ? 1 : 0

certificate_arn = var.certificate_arn
Expand Down
8 changes: 4 additions & 4 deletions modules/endpoints_s3_dlt/output.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
output "endpoint_arn" {
description = "Endpoint ARN"
value = aws_dms_dlt_s3_endpoint.this[0].endpoint_arn
value = aws_dms_s3_endpoint.this[0].endpoint_arn
}

output "certificate_arn" {
description = "Certificate ARN"
value = aws_dms_dlt_s3_endpoint.this[0].certificate_arn
value = aws_dms_s3_endpoint.this[0].certificate_arn
}

output "kms_key_arn" {
description = "KMS key ARN"
value = aws_dms_dlt_s3_endpoint.this[0].kms_key_arn
value = aws_dms_s3_endpoint.this[0].kms_key_arn
}

output "ssl_mode" {
description = "SSL mode"
value = aws_dms_dlt_s3_endpoint.this[0].ssl_mode
value = aws_dms_s3_endpoint.this[0].ssl_mode
}

0 comments on commit 1afef3b

Please sign in to comment.