Skip to content

Latest commit

 

History

History

aws-one-sm-to-many-ssm-secrets

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

AWS one Secret Manager to many SSM secrets

Creates from ont Secret Manager entry many SSM secrets. Useful for adding external secrets to ECS.

Requirements

Name Version
terraform >= 1.0
aws >= 4.0, < 5.0

Providers

Name Version
aws >= 4.0, < 5.0

Modules

No modules.

Resources

Name Type
aws_ssm_parameter.secret_ext resource
aws_secretsmanager_secret_version.secret_ext data source

Inputs

Name Description Type Default Required
external_secret_arn ARN of SecretManager secret entry string n/a yes
name prefix used in SSM secrets string n/a yes

Outputs

Name Description
secrets_map type map variable with name_of_secret = SecretARN
ssm_tuple tuple with all SSM secret ssm_turple[name_of_secret]