Terraform – AWS SSM: Extract content

The SSM Parameter Store contains the following JSON:   It is necessary to extract the login and password, and use their values in the Terraform code. To do this, you can use the following construction:   And use variables: