1 Answer
- Newest
- Most votes
- Most comments
0
Please review the following documentation https://docs.aws.amazon.com/chatbot/latest/adminguide/chatbot-cli-commands.html
As a workaround,
- you can Create a Lambda function and
- Create an IAM role for your Lambda function with the necessary permissions to update the ECS service and then
- Configure AWS ChatBot to allow invoking the Lambda function. This requires adding the necessary permissions to the AWS ChatBot IAM role.
- Use AWS ChatBot to invoke the Lambda function from Slack, passing the required parameters like cluster-name and service-name.
like the following
@aws lambda invoke --function-name your_lambda_function_name --payload '{"cluster-name": "cluster-a", "service-name": "service-a"}'
Relevant content
- Accepted Answer
- asked a year ago
- asked 4 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago