ssm

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 ssm provides post-apply assertions for AWS Systems Manager (SSM) Parameter Store 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 ssmassert to coexist with the AWS SDK's ssm package:

import (
    ssmassert "github.com/donaldgifford/libtftest/assert/ssm"
    ssmsdk   "github.com/aws/aws-sdk-go-v2/service/ssm"
)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParameterExists

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

ParameterExists is a shim that calls ParameterExistsContext with tb.Context().

func ParameterExistsContext

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

ParameterExistsContext asserts that the named SSM parameter exists.

func ParameterHasValue

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

ParameterHasValue is a shim that calls ParameterHasValueContext with tb.Context().

func ParameterHasValueContext

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

ParameterHasValueContext asserts that the named SSM parameter resolves to want under decryption.

Types

This section is empty.

Jump to

Keyboard shortcuts

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