Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix markup issue in terraform post #1043

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion posts/2019-01-14-definitive-guide-terraform-serverless.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,12 @@ resource "random_string" "password" {
length = 16
special = false
}

```

Now, if we want the Serverless application to get the details of the DB connection string we need to save the DB name and the password as encrypted strings in the SSM parameter store. We can do that by using the aws_ssm_parameter resource like this:


```
# parameters.tf
resource "aws_ssm_parameter" "endpoint" {
name = "/database/${var.name}/endpoint"
Expand Down