back
terraform {
required_providers {
aws = ">= 3.35.0"
}
}
top
module "aws_qldb_ledger" {
source = "./modules/aws/d/aws_qldb_ledger"
# name - (required) is a type of string
name = null
}
top
variable "name" {
description = "(required)"
type = string
}
top
data "aws_qldb_ledger" "this" {
# name - (required) is a type of string
name = var.name
}
top
output "arn" {
description = "returns a string"
value = data.aws_qldb_ledger.this.arn
}
output "deletion_protection" {
description = "returns a bool"
value = data.aws_qldb_ledger.this.deletion_protection
}
output "id" {
description = "returns a string"
value = data.aws_qldb_ledger.this.id
}
output "this" {
value = aws_qldb_ledger.this
}
top