IaC Bazaar
AWSLive-tested

SSM Parameter Store (map-driven)

Map-driven SSM Parameter Store parameters - String, StringList, and SecureString - created from a single map, with SecureString always KMS-encrypted and the free Standard tier by default.

terraformAWS#aws

Part of: AWS Production Landing Zone

aws-ssm-parameter-storeterraform v1.7

Verification

Live-tested

Really deployed to a cloud sandbox, verified against its outputs and assertions, then destroyed - with the teardown confirmed.

Conformance

  • Static validation (fmt · validate · tflint)
  • Security scan clean (Checkov)
  • Plan test superseded by live test

Provenance

Functional

  • Live-tested - applied, verified, destroyed

Last verified 2026-06-30 · how we verify

Verify this download

cosign · sha-256

Don't take our word for it. Every release is signed with cosign - check the bytes against our pinned public key before you trust them.

# 1. Our pinned public key - fetch once, trust out-of-band
curl -O https://www.iac-bazaar.com/cosign.pub

# 2. This module's Sigstore bundle
curl -o aws-ssm-parameter-store-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/aws-ssm-parameter-store/signature

# 3. Verify the tarball you downloaded
cosign verify-blob \
  --key cosign.pub \
  --bundle aws-ssm-parameter-store-1.0.0.sigstore.json \
  aws-ssm-parameter-store-1.0.0.tar.gz
# → Verified OK

# 4. (optional) confirm the checksum too
echo "8f5337c1ff013e5ec8dbdefcb6bf53ad4a6237bdedb0a95a6c6469daf4c2f6e7  aws-ssm-parameter-store-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "ssm_parameter_store" {
  source  = "www.iac-bazaar.com/iac-bazaar/aws-ssm-parameter-store/aws"
  version = "1.0.0"
}

Paid module — needs a purchase (or a subscription that covers it) plus a registry token from /account/tokens. Full setup: registry docs.

Inputs & outputs

Create a free account to read this module's contract

The declared contract — every input name, type, default and description, plus every output — is shown to signed-in accounts, not to anonymous visitors.

A free account sees the contract of every Free module. This one is Basic, so its contract unlocks when you buy it.

Documentation

aws-ssm-parameter-store

Map-driven SSM Parameter Store parameters — String, StringList, and SecureString — created from a single parameters map with for_each. Works with Terraform and OpenTofu (>= 1.6), AWS provider >= 6.0, < 7.0. SecureString values are always encrypted at rest (a customer KMS key when you supply one, otherwise the AWS-managed alias/aws/ssm key), and the default Standard tier is free.

Status: static-validated, live-test pending. Ships under live-test quarantine — validated with tofu fmt, tofu validate, and tflint. Real apply → read → destroy against an AWS account is pending a cloud sandbox. Standard-tier parameters are free to create/store, so the live test creates a couple and tears them down immediately.

What you get:

  • aws_ssm_parameter (one per map entry) — String / StringList / SecureString, per-parameter tier, data_type, allowed_pattern, key_id, and tags.
  • A clean name hierarchy: name_prefix is prepended to every map key, so {"app/log-level" = …} under name_prefix = "/myapp/prod/" becomes /myapp/prod/app/log-level.

Secure defaults

  • Encryption at rest is automatic for SecureString: a customer-managed CMK via key_id / default_kms_key_id, or the AWS-managed alias/aws/ssm key when none is given. key_id is rejected on non-SecureString parameters.
  • Standard tier (free) by default — no surprise Advanced-tier charges.
  • Provider marks value sensitive, so plaintext never appears in plan output. (Note: like any non-write-only SSM parameter, the value is stored in Terraform state — protect your state backend, or manage rotation out of band.)
  • Strict input validation: type / tier / data_type are constrained to their valid sets, key_id is rejected on non-SecureString parameters, and non-text data types are rejected on non-String parameters.

Provider pin

aws = {
  source  = "hashicorp/aws"
  version = ">= 6.0, < 7.0"
}

License

Commercial — LicenseRef-IaCBazaar-Commercial. © IaC Bazaar. Original work (not derived from a third-party module).

Usage code & full reference unlock after purchase

The complete copy-paste usage, the full input/output reference, and operational notes ship with your licence - shown here and bundled in the download.

  • Usage
  • Inputs
  • Outputs

Related modules