Giter Club home page Giter Club logo

Comments (4)

awsclemj avatar awsclemj commented on August 13, 2024 1

Hello @FlemmingBehrend,

error: undefined in the prepare stage generally points to issues fetching account IDs for your organization based on the email addresses entered in accounts-config.yaml. We are actively working to improve our error messaging here to make that clear. In the meantime, can you please verify the email addresses for your mandatory and workload accounts match exactly what is in AWS Organizations?

Note: email addresses for the mandatory accounts are pushed to the config file from the installer stack parameters, so you may update those there if any of the emails differ. For workload accounts, you may update the accounts-config.yaml directly.

Thanks, and please keep us updated!

from landing-zone-accelerator-on-aws.

FlemmingBehrend avatar FlemmingBehrend commented on August 13, 2024 1

Hi @awsclemj

It was as you said a typo in the account email for the management account. There are a couple of things that I was wondering about.

  1. Why do we need to specify the email address for the management account?
    My assumption here is the ALZ is always installed in the management account or can it be deployed in another account. The account number could just be looked up.

  2. If the email is wrong could you fail earlier?
    If the management account email is wrong could the solution fail in the AWSAccelerator-Installer pipeline instead of waiting until the prepare script in the AWSAccelerator-Pipeline

  3. The aws-accelerator-config repo was not updated
    Running the AWSAccelerator-Installer again with the correct email in the stack parameters did not update the accounts-config.yaml, I had to do that manually afterwards before running the AWSAccelerator-Pipeline

Thanks for the help 👍

Looking forward to better error messages 😄

from landing-zone-accelerator-on-aws.

hickeydh-aws avatar hickeydh-aws commented on August 13, 2024 1

Hello @FlemmingBehrend Thank you for the valuable feedback.

  1. Why do we need to specify the email address for the management account?

This is needed so that the aws-accelerator-config repository can populate the correct email addresses when generating the base configuration. It is designed to be compatible with partitions that may not have organizations support.

  1. If the email is wrong could you fail earlier?

It is possible for us to fail sooner than the prepare stage. Our team will evaluate this and add it to our feature requests.

  1. The aws-accelerator-config repo was not updated

This is the expected behavior of the LZA. As of today, we do not programmatically modify the aws-accelerator-config after initial installation.

from landing-zone-accelerator-on-aws.

SergiyShevchenk avatar SergiyShevchenk commented on August 13, 2024

is the management account = root account? it is very unclear what account is what?! In the code is says "root" in the CFT is says "management account" which is very inconsistent!

from landing-zone-accelerator-on-aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.