Using Secrets Manager in Terraform

<p>Terraform is a powerful infrastructure as code (IaC) tool that helps you build, change, and version infrastructure. It does have pros and cons like anything else, but a major benefit is that it is cloud-agnostic, meaning it can be used with multiple cloud providers.</p> <p>In this lab, we&rsquo;ll use AWS on windows as our cloud service provider. The components we&rsquo;ll work on include:</p> <ol> <li>AWS Secrets Manager: A secrets management service that helps you protect access to your applications, services, and IT resources. It will be used to store and retrieve database credentials.</li> <li>Amazon RDS for PostgreSQL: A relational database service that provides you six familiar database engines to choose from, including Amazon Aurora, PostgreSQL, MySQL, etc.</li> <li>EC2 Instance: Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud.</li> </ol> <p>The goal here is to have our application reference a secret password value in secrets manager, instead of storing the password in plain text in our source code.</p> <p><a href="https://aws.plainenglish.io/using-secrets-manager-in-terraform-368c8efdd06b"><strong>Read More</strong></a></p>