dynamodb

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package dynamodb provides post-apply assertions for AWS DynamoDB resources created by Terraform modules under test.

All assertions follow the paired-method shape from INV-0001: a context-aware variant ending in Context and a shim that calls the *Context variant with tb.Context().

Import alias convention: callers typically alias this package as ddbassert to coexist with the AWS SDK's dynamodb package:

import (
    ddbassert "github.com/donaldgifford/libtftest/assert/dynamodb"
    ddbsdk   "github.com/aws/aws-sdk-go-v2/service/dynamodb"
)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TableExists

func TableExists(tb testing.TB, cfg aws.Config, name string)

TableExists is a shim that calls TableExistsContext with tb.Context().

func TableExistsContext

func TableExistsContext(tb testing.TB, ctx context.Context, cfg aws.Config, name string)

TableExistsContext asserts that the named DynamoDB table exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL