Skip to content

feat: add sops-deploy module#2

Merged
megheaiulian merged 1 commit into
mainfrom
add-sops-deploy
Mar 12, 2026
Merged

feat: add sops-deploy module#2
megheaiulian merged 1 commit into
mainfrom
add-sops-deploy

Conversation

@megheaiulian

Copy link
Copy Markdown
Contributor

Summary

  • Adds sops-deploy module for deploying sops-encrypted secrets to remote hosts
  • Extracts secrets from sops files and transfers via SSH
  • Provides id output for use as trigger in dependent resources

Usage

module "sops" {
  source   = "git::https://github.com/plumelo/nixtf.git//modules/sops-deploy"
  host     = "192.168.1.100"
  path     = "\${path.module}/secrets.yaml"
  key      = "[\"age\"][\"key\"]"
}

Deploys sops-encrypted secrets to remote hosts over SSH.

- Extracts secrets from sops files
- Transfers to remote host via SSH
- Provides id output for trigger chaining
@megheaiulian megheaiulian merged commit 8e64646 into main Mar 12, 2026
@megheaiulian megheaiulian deleted the add-sops-deploy branch March 15, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant