Handling secrets in AWS ECS using terraform
Rahul Bhatia
AWS|DevOps|Linux|GIT|Docker| K8s|Terraform | Helm| ArgoCD | Prompt Engineering
Sometimes, it becomes necessary to remove sensitive information from the terraform template and store the same into AWS SSM Parameter Store from where the application fetch the information as environment variable during run time.
We can declare the values in a separate terraform.tfvars file and then with interpolation, call those values and store them subsequently on AWS SSM Parameter Store with "aws_ssm_parameter" resource block.