Skip to content

adf-accounts: Should it create new OUs if they don't exists? #263

@StewartW

Description

@StewartW

ADF Version: 3.0.1
`

  • account_full_name: "some-random-account"
    --
      | organizational_unit_path: /existing/new-ou
      | email: [email protected]
      | allow_billing: True
      | delete_default_vpc: False
      | alias: some-random-account
      | tags:
      | - managed_by_adf: True

`

In this kind of example, when adding a new account via adf-accounts/.yml

It will fail with a ValueError because it can't find the OU.
File Here

Do we think this should create the relevant OU if it doesn't exist?
What's the thoughts on that?
There's pros:

  • allows for smoother creation of OUs and moving accounts "as code"
  • keeps everything in the same process

Cons:

  • Could hide errors if there's a typo in an OU name

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions