GithubHelp home page GithubHelp logo

rhythmictech / terraform-aws-secretsmanager-secret Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 19.0 28 KB

Simple secret module for AWS Secrets Manager

Home Page: https://registry.terraform.io/modules/rhythmictech/secretsmanager-secret/aws

License: MIT License

HCL 100.00%
aws terraform terraform-modules terraform-module aws-secrets-manager aws-secret aws-secretsmanager

terraform-aws-secretsmanager-secret's Introduction

terraform aws secretsmanager secret

Simple secret module for AWS secretsmanager

Examples

With a String

module "secret" {
  source  = "rhythmictech/secretsmanager-secret/aws"
  version = "0.2.0"

  name  = "my-secret-string"
  value = var.my_secret_string

  tags = {
      encoding = "none"
      type     = "string"
  }
}

With a file

module "secret" {
  source  = "rhythmictech/secretsmanager-secret/aws"
  version = "0.2.0"

  name  = "my-secret-file-base64-encoded"
  value = base64encode(var.my_secret_file)

  tags = {
      encoding = "base64"
      type     = "file"
  }
}

Requirements

Name Version
terraform >= 0.12

Providers

Name Version
aws n/a

Inputs

Name Description Type Default Required
description n/a string "terraform-managed secret" no
kms_key_id Optional. The KMS Key ID to encrypt the secret. KMS key arn or alias can be used. any null no
name Name of secret to store string n/a yes
policy Optional. The resource policy which controls access to the secret. any null no
tags User-Defined tags map(string) {} no
value Secret value to store string n/a yes

Outputs

Name Description
arn AWS SecretManager Secret ARN
id AWS SecretManager Secret ARN
secret AWS SecretManager Secret resource
secret_version AWS SecretManager Secret Version resource

The Giants underneath this module

  • pre-commit.com/
  • terraform.io/
  • github.com/tfutils/tfenv
  • github.com/segmentio/terraform-docs

terraform-aws-secretsmanager-secret's People

Contributors

neuroscr avatar sblack4 avatar tuxetuxe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

terraform-aws-secretsmanager-secret's Issues

[Feature] Output the ARN of secret as you do on the random version

Is your feature request related to a problem? Please describe.
ECS task defs look for the ARN of a secret

Describe the solution you'd like
Output from module of secret arn as currently happens on the random version you provide

Describe alternatives you've considered
none

Additional context
none

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.