Skip to content

Terraform module to store different parameters to SSM and also as a secret

License

Notifications You must be signed in to change notification settings

Flaconi/terraform-aws-ssm-secrets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-ssm-secrets

Wrapper to store ssm parameters and also the same values as a secret in secrets manager.

License

For requirements regarding module structure: style-guide-terraform.md

Providers

No providers.

Requirements

Name Version
terraform >= 1.5
aws >= 4.29

Required Inputs

No required inputs.

Optional Inputs

The following input variables are optional (have default values):

Description: Tags applied to the resources

Type: map(string)

Default: {}

Description: kms_alias sets the kms alias used for SecureString

Type: string

Default: "alias/aws/ssm"

Description: name_prefix prefixes the given name with a prefix

Type: string

Default: ""

Description: A list of dicts with parameter information

Type:

list(object({
    name  = string
    type  = optional(string, "SecureString") # String, StringList or SecureString
    value = string
  }))

Default: []

Outputs

Name Description
parameter_arns Map of parameter name and arn

License

MIT License

Copyright (c) 2024 Flaconi GmbH