» Resource: aws_qldb_ledger

Provides an AWS Quantum Ledger Database (QLDB) resource

» Example Usage

resource "aws_qldb_ledger" "sample-ledger" {
  name = "sample-ledger"
}

» Argument Reference

The following arguments are supported:

  • name - (Optional) The friendly name for the QLDB Ledger instance. By default generated by Terraform.
  • deletion_protection - (Optional) The deletion protection for the QLDB Ledger instance. By default it is true. To delete this resource via Terraform, this value must be configured to false and applied first before attempting deletion.
  • tags - (Optional) Key-value mapping of resource tags

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The Name of the QLDB Ledger
  • arn - The ARN of the QLDB Ledger

» Import

QLDB Ledgers can be imported using the name, e.g.

$ terraform import aws_qldb_ledger.sample-ledger sample-ledger