terraspace-secrets

Retrieve AWS Secrets Manager and SSM Parameter Store values in Terraspace projects.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/voidrot/agents --skill terraspace-secrets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraspace-secrets
Source: https://github.com/voidrot/agents/tree/main/skills/infrastructure/terraspace-secrets
Command: npx skills add https://github.com/voidrot/agents --skill terraspace-secrets

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the retrieval of AWS Secrets Manager or SSM Parameter Store values within Terraspace projects, simplifying secret management during tfvars generation.

Core Features & Use Cases

  • Secrets Manager Value Retrieval: Automatically fetch AWS Secrets Manager values using aws_secret().
  • SSM Parameter Store Value Retrieval: Fetch AWS SSM Parameter Store values using aws_ssm().
  • ENV Expansion: Retrieve values based on TS_ENV expansion for dynamic secret paths.
  • Avoid Expansion: Use expand: false to prevent substitution of Terraspace expansion tokens in secret paths.
  • Use Case: When deploying a Terraspace project that requires secure access to AWS secrets or parameters, this Skill ensures that the correct values are used without manual intervention.

Quick Start

Retrieve the database password from AWS Secrets Manager for the current environment using aws_secret('db/:ENV/password').

Frequently Asked Questions about terraspace-secrets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve AWS Secrets Manager values during Terraspace tfvars generation?

You can retrieve AWS Secrets Manager values during Terraspace tfvars generation by using the `aws_secret()` function, which automatically fetches and injects the required values into your Terraform configurations.

Can I fetch SSM Parameter Store values dynamically based on the current Terraspace environment?

Yes, you can fetch SSM Parameter Store values dynamically based on the current Terraspace environment by using `aws_ssm()` with `TS_ENV` expansion tokens in the parameter path, enabling environment-specific secret retrieval.

How do I prevent Terraspace from expanding tokens in my AWS secret paths?

To prevent Terraspace from expanding tokens in your AWS secret paths, use the `expand: false` setting, which avoids accidental substitution of Terraspace expansion tokens within your secret or parameter identifiers.

Do I need Terraform and Terraspace to retrieve AWS parameters and generate tfvars?

Yes, you need both Terraform and Terraspace installed to process AWS resources and generate tfvars, as this secret retrieval automation relies on the Terraspace framework to interface with AWS services.

What is the best way to manage AWS secrets in Terraspace projects without manual intervention?

The best way to manage AWS secrets in Terraspace projects without manual intervention is automating retrieval with `aws_secret()` and `aws_ssm()`, ensuring correct values are used during tfvars generation by leveraging Terraspace expansion tokens.