Skip to content

Commit 37d466f

Browse files
committed
fix(rabbitmq-lambda): align secret name and add password length note
- Change MQAccess to MQaccess in template.yaml to match README instructions - Add note about 12-250 char password requirement in README Fixes #2658
1 parent 417bb44 commit 37d466f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

rabbitmq-lambda/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Important: this application uses various AWS services and there are costs associ
1515

1616
## Deployment Instructions
1717

18-
1. Set up your username and password for RabbitMQ access. In a new terminal window enter:
18+
1. Set up your username and password for RabbitMQ access. The password must be at least 12 characters long (maximum 250 characters). In a new terminal window enter:
1919
```
2020
aws secretsmanager create-secret --name MQaccess --secret-string '{"username": "your-username", "password": "your-password"}'
2121
```

rabbitmq-lambda/template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Resources:
1414
HostInstanceType: mq.m5.large
1515
PubliclyAccessible: true
1616
Users:
17-
- Password: '{{resolve:secretsmanager:MQAccess:SecretString:password}}'
18-
Username: '{{resolve:secretsmanager:MQAccess:SecretString:username}}'
17+
- Password: '{{resolve:secretsmanager:MQaccess:SecretString:password}}'
18+
Username: '{{resolve:secretsmanager:MQaccess:SecretString:username}}'
1919

2020
MQConsumer:
2121
Type: AWS::Serverless::Function

0 commit comments

Comments
 (0)