Resource: aws_qldb_ledger

Provides an AWS Quantum Ledger Database (QLDB) resource

Example Usage

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

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import QLDB Ledgers using the name. For example:

import {
  to = aws_qldb_ledger.sample-ledger
  id = "sample-ledger"
}

Using terraform import, import QLDB Ledgers using the name. For example:

% terraform import aws_qldb_ledger.sample-ledger sample-ledger