terraform-provider-gpg

command module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2022 License: MIT Imports: 2 Imported by: 0

README

GPG Terraform Provider Build Status Maintainability codecov Go Report Card

The GPG provider allows to generate GPG encrypted message in ASCII-armored format using Terraform.

This provider uses built-in openpgp Golang library to perform GPG encryption. Currently the only supported option is encrypting message with public keys.

Managing GPG keyring or signing files is currently not implemented.

Table of contents

User documentation

For user documentation, see Terraform Registry.

Building

For testing builds, simply run docker build ., which will download all dependencies, run build, test and linter.

For local builds, run make which will build the binary, run unit tests and linter.

Releasing

This project use goreleaser for releasing. To release new version, follow the following steps:

  • Add a changelog for new release to CHANGELOG.md file.

  • Tag new release on desired git, using example command:

    git tag -a v0.4.7 -s -m "Release v0.4.7"
    
  • Push the tag to GitHub

    git push origin v0.4.7
    
  • Run goreleser to create a GitHub Release:

    GITHUB_TOKEN=githubtoken GPG_FINGERPRINT=gpgfingerprint goreleaser release --release-notes <(go run github.com/rcmachado/changelog show 0.4.7)
    goreleaser
    
  • Go to newly create GitHub release, verify that the changelog and artefacts looks correct and publish it.

Authors

  • Mateusz Gozdek - Initial work - invidian

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package gpg contains implementation of terraform-provider-gpg.
Package gpg contains implementation of terraform-provider-gpg.

Jump to

Keyboard shortcuts

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