I'm trying to run AWS codepipeline
from slack using AWS chatbot
feature. I've configured a chatbot properly and it is giving me appropriate response when I'm running a command
@aws codepipeline list-pipelines --region us-east-1
With this command it is showing me all the configured codepipelines in my AWS account.
However when I'm trying to run a pipeline using
@aws codepipeline start-pipeline-execution --name dev-pipeline
I'm getting following error.
I can't run the command codepipeline start-pipeline-execution because it isn't enabled.
There's no option I can see in AWS Chatbot to enable this pipeline. I'm able to run this same pipeline using AWS CLI and its working perfectly fine. Can someone please give me any pointer to configure AWS Chatbot from Slack to run AWS Codepipeline?