lambda

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 lambda provides post-apply assertions for AWS Lambda 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 lambdaassert to coexist with the AWS SDK's lambda package:

import (
    lambdaassert "github.com/donaldgifford/libtftest/assert/lambda"
    lambdasdk   "github.com/aws/aws-sdk-go-v2/service/lambda"
)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FunctionExists

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

FunctionExists is a shim that calls FunctionExistsContext with tb.Context().

func FunctionExistsContext

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

FunctionExistsContext asserts that the named Lambda function exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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