https://github.com/flaconi/terraform-aws-ssm-store
Simple module to store different parameters to SSM
https://github.com/flaconi/terraform-aws-ssm-store
aws terraform terraform-module
Last synced: 5 months ago
JSON representation
Simple module to store different parameters to SSM
- Host: GitHub
- URL: https://github.com/flaconi/terraform-aws-ssm-store
- Owner: Flaconi
- License: mit
- Created: 2019-11-18T13:44:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-09-10T09:20:05.000Z (10 months ago)
- Last Synced: 2025-09-10T12:11:13.043Z (10 months ago)
- Topics: aws, terraform, terraform-module
- Language: Makefile
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Terraform module: AWS SSM Store
[](https://github.com/flaconi/terraform-aws-ssm-store/actions?query=workflow%3Alint)
[](https://github.com/flaconi/terraform-aws-ssm-store/actions?query=workflow%3Atest)
[](https://github.com/flaconi/terraform-aws-ssm-store/releases)
[](https://registry.terraform.io/modules/Flaconi/ssm-store/aws/)
[](https://opensource.org/licenses/MIT)
This Terraform module can create an arbitrary number of SSM-keys to store parameters.
## Usage
### Assumeable roles
```hcl
module "ssm" {
source = "github.com/flaconi/terraform-aws-ssm-store?ref=v1.2.0"
tags = {
"Created by" = "terraform"
}
kms_alias = "alias/aws/ssm"
name_prefix = "/applications/app1"
parameters = [
{
name = "secure"
value = "securevalue"
},
{
name = "secure2"
value = "securevalue2"
type = "SecureString" # Set explicitly
},
{
name = "insecure"
value = "insecurevalue"
type = "String"
},
]
}
```
## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | ~> 6.0 |
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5 |
| [aws](#requirement\_aws) | ~> 6.0 |
## 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: `{}`
### [kms\_alias](#input\_kms\_alias)
Description: kms\_alias sets the kms alias used for SecureString
Type: `string`
Default: `"alias/aws/ssm"`
### [name\_prefix](#input\_name\_prefix)
Description: name\_prefix prefixes the given name with a prefix
Type: `string`
Default: `""`
### [parameters](#input\_parameters)
Description: A list of dicts with parameter information
Type:
```hcl
list(object({
name = string
type = optional(string, "SecureString") # String, StringList or SecureString
value = string
}))
```
Default: `[]`
## Outputs
| Name | Description |
|------|-------------|
| [parameter\_arns](#output\_parameter\_arns) | Map of parameter name and arn |
## License
[MIT License](LICENSE)
Copyright (c) 2024 **[Flaconi GmbH](https://github.com/flaconi)**