awslabs / awslabs/aws-deployment-framework
ADF Deployment Bootstrap does not send Slack notifications
- Dominant language
- Python
- Stars
- 699
- Forks
- 235
- Avg merge
- 20h 53m
- Merged PRs (30d)
- 7
Description
Hi all
We are experiencing an issue with sending Slack notifications during the run of aws-deployment-framework-bootstrap-pipeline. We have configured adfconfig.yml to send notifications into our Slack channel but nothing happens. We do not see any errors in the pipeline run.
adfconfig.yml configuration:
--
24 | main-notification-endpoint:
25 | - type: slack
26 | target: org-aws-adf
We have also configured Secrets manager for the target above as described in the documentation but nothing happens.
From the build logs:
`
--
[Container] 2021/01/27 09:32:44 Running command sam build -t adf-bootstrap/deployment/global.yml
65 |
66 | SAM CLI now collects telemetry to better understand customer needs.
67 |
68 | You can OPT OUT and disable telemetry collection by setting the
69 | environment variable SAM_CLI_TELEMETRY=0 in your shell.
70 | Thanks for your help!
71 |
72 | Learn More: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.html
73 |
74 | Building resource 'SendSlackNotification'
75 | Running PythonPipBuilder:ResolveDependencies
76 | Running PythonPipBuilder:CopySource
77 | Building resource 'EnableCrossAccountAccess'
78 | Running PythonPipBuilder:ResolveDependencies
79 | Running PythonPipBuilder:CopySource
80 | Building resource 'CheckPipelineStatus'
81 | Running PythonPipBuilder:ResolveDependencies
82 | Running PythonPipBuilder:CopySource
83 | Building resource 'InitialCommitHandler'
84 | Running PythonPipBuilder:ResolveDependencies
85 | Running PythonPipBuilder:CopySource
`
So as you can see the Slack resource is referenced. But I do not see this resource being created in our master account where the bootstrap pipeline is present.
I have to clarify that Slack notifications resources within our deployment account is there and notifications are working fine. The problem is only with bootstrap pipeline within master account.
Can you explain me how is this supposed to work and what is the correct configuration here?
if you need more information then let me know.
Thank you
Contributor guide
Research direction
Start with the adfconfig.yml notification settings and adf-bootstrap/deployment/global.yml, then trace the SendSlackNotification resource in the aws-deployment-framework-bootstrap-pipeline. Compare the bootstrap pipeline in the master account with the working deployment-account setup and review the provided build logs. Done means the configured bootstrap Slack resource is created and notifications are delivered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100