-
Notifications
You must be signed in to change notification settings - Fork 449
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
Prepare stage failing with Account ID not found for LogArchive. Validate that the emails in the parameter ManagementAccountEmail of the AWSAccelerator-InstallerStack #647
Comments
@sathyashop - can you clarify if you intend to use Control Tower?
If this is true, then confirm that in the InstallerStack that the email address for the existing LogArchive account matches what is in the |
Yes, I intend to use Control Tower.
I did confirm that email address matches as per your direction.
…On Sun, Nov 17, 2024, 3:38 p.m. Richard Keit ***@***.***> wrote:
@sathyashop <https://github.com/sathyashop> - can you clarify if you
intend to use Control Tower?
The global-config.yaml file did not contain any configuration for AWS
Control Tower Landing Zone, no activities for module control-tower.
If this is true, then confirm that in the InstallerStack that the email
address for the *existing* LogArchive account matches what is in the
Organizations page AND matches what is in the accounts-config.yaml.
—
Reply to this email directly, view it on GitHub
<#647 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BM66JDXKKNADIFDZL6P5JDD2BD5FJAVCNFSM6AAAAABR3SVT6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBRGU2DENZRHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@sathyashop - then the first message printed by the validator indicates whats wrong.
In then the event that it resolves the issue for you, please mark as closed with that acknowledgement. |
Unfortunately, does not work. Same error |
I did some debugging, and looks like that specific code expects the account with name "LogArchive" to be pre-existing (and already created) in AWS organization. In my case, I didnt have it, and here it is throwing this error. I was under assumption that LZA will automatically create all necessary accounts (LogArchive, Audit etc..) as part of this process? In yes, then why is it failing at the Prepare fail? Can someone please confirm my understanding? Below is the callstack, just in case
|
My assumption here is that because the initial run of the pipeline did not have the Control Tower configuration set, that this has contributed to it. With 1.9.2, I had a single Management Account (in an Organization) and it created everything including the mandatory accounts - I followed this documentation closely and worked without an issue: https://docs.aws.amazon.com/solutions/latest/landing-zone-accelerator-on-aws/prerequisites.html#for-aws-control-tower-based-installation Triple check that the parameters in the Installer Cloudformation stack are correct, run the installer pipeline and double check the configuration in the repository is correct. If using S3 as the configuration location, it is very likely that the configuration has not been updated there |
Describe the bug
I am trying to deploy the LZA 1.10.0 on a clean AWS environment as a root user. I am simply following the instructions as in https://docs.aws.amazon.com/solutions/latest/landing-zone-accelerator-on-aws/deploy-the-solution.html
**I had been using the default configurations provided with LZA , with an understanding that I need to add my customizations only after AWSAccelerator-Pipeline completes **
organization-config.yaml:
accounts-config.yaml:
But AWSAccelerator-Pipeline fails at "Prepare" stage
None of the OU/Accounts are automatically created by LZA except the "Infrastructure" Ou
Expected behavior
AWSAccelerator-Pipeline needs to be successful.
Please complete the following information about the solution:
The text was updated successfully, but these errors were encountered: