-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Issue installing adf in new account #747
Comments
Hi @KarBroden, This seems to be a bug in the validation logic. It should not allow you to install ADF without it. Therefore I would recommend that you update the # ...
config:
main-notification-endpoint:
- type: email
target: [email protected] Best regards, Simon |
Issue: awslabs#747 ## Why? When no notification endpoint is configured, it did not warm about this. Instead, the execution of the main bootstrap pipeline failed. ## What? * Add validation logic to confirm that a notification endpoint is configured. * When an email address is configured, it should contain the '@' character too.
Issue: awslabs#747 ## Why? When no notification endpoint is configured, it did not warm about this. Instead, the execution of the main bootstrap pipeline failed. ## What? * Add validation logic to confirm that a notification endpoint is configured. * When an email address is configured, it should contain the '@' character too.
Thanks for looking into this. The installation guide mentions this configuration parameter as optional. If it's not we should change the documentation as well. |
Is there an existing issue for this?
Describe the bug
I just setup a new management account with Control Tower configured.
When installing ADF v.4.0.0 in this account with the following flags using a Cloud9 environment
{"CrossAccountAccessRoleName": "AWSControlTowerExecution", "MainNotificationEndpoint": "", "DeploymentAccountName": "", "DeploymentAccountEmailAddress": "", "DeploymentAccountAlias": "", "DeploymentAccountId": "ID-OF-DEPLOY-ACC", "DeploymentAccountMainRegion": "eu-west-1", "DeploymentAccountTargetRegions": "us-east-1", "ProtectedOUs": "", "LogLevel": "INFO", "AllowBootstrappingOfManagementAccount": "No", "GrantOrgWidePrivilegedBootstrapAccessUntil": "1900-12-31T23:59:59Z"}
the installation successfully completes but the aws-deployment-framework-bootstrap-pipeline fails with
I assume it's attempting to send a notification but is unable to do so as I set "MainNotificationEndpoint": ""
I would like some help in figuring out if the notification error is the "real" error or if this error is just hiding some other underlying issue.
Expected Behavior
If I set "MainNotificationEndpoint": "" it won't try to run the notification part of the code
Current Behavior
Setting "MainNotificationEndpoint": "" results in an error
Steps To Reproduce
{"CrossAccountAccessRoleName": "AWSControlTowerExecution", "MainNotificationEndpoint": "", "DeploymentAccountName": "", "DeploymentAccountEmailAddress": "", "DeploymentAccountAlias": "", "DeploymentAccountId": "ID-OF-DEPLOY-ACC", "DeploymentAccountMainRegion": "eu-west-1", "DeploymentAccountTargetRegions": "us-east-1", "ProtectedOUs": "", "LogLevel": "INFO", "AllowBootstrappingOfManagementAccount": "No", "GrantOrgWidePrivilegedBootstrapAccessUntil": "1900-12-31T23:59:59Z"}
Possible Solution
Workaround is to modify the adfconfig.yml in codecommit and add a notification endpoint. Once added the pipeline will succeed.
Additional Information/Context
No response
ADF Version
v4.0.0
Contributing a fix?
The text was updated successfully, but these errors were encountered: