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 ¶
- func ParameterExists(tb testing.TB, cfg aws.Config, name string)
- func ParameterExistsContext(tb testing.TB, ctx context.Context, cfg aws.Config, name string)
- func ParameterHasValue(tb testing.TB, cfg aws.Config, name, want string)
- func ParameterHasValueContext(tb testing.TB, ctx context.Context, cfg aws.Config, name, want string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParameterExists ¶
ParameterExists is a shim that calls ParameterExistsContext with tb.Context().
func ParameterExistsContext ¶
ParameterExistsContext asserts that the named SSM parameter exists.
func ParameterHasValue ¶
ParameterHasValue is a shim that calls ParameterHasValueContext with tb.Context().
Types ¶
This section is empty.