You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Root>
├── Infrastructure
│ └── Prod <-- this OU was re-created, but new physicalId is not in the state file
├── Prod_tmp <-- new OU
│ └── workload-a-prod <-- account moved
│ └── log-archive-prod (account) <-- account moved
│ └── security-tooling-prod (account) <-- account moved
├── Sandbox
│ └── sandbox-01 (account)
├── Security
│ └── Prod
├── Workloads
│ └── Prod
└── management (account)
Your environment
version of org-foramtion (ofn --version): 1.0.11
version of node (node --version): v18.16.1
which OS/distro: Ubuntu 22.04.2 LTS
Expected behaviour
ofn update should run successfully after ofn init and no changes made
The text was updated successfully, but these errors were encountered:
I did some experimenting and was able to work-around the issue.
I manually reset my org structure to how it is supposed to look.
Generated new organization.yml and state files.
Then renamed logical names as per below in both yml and state files:
@KarlCF state file is store in the S3 bucket that you specify with --state-bucket-name. I simply downloaded the file from S3, modified it, uploaded it back to S3 and then ran org-formation
Failure to update org after successful init
I have the following org structure:
org-formation init
successfully generated organization.yml and state file.But when I ran
org-formation update organization.yml
without making any changes to the org structure or yml file it failed.What is even worse it altered my org structure:
Your environment
1.0.11
v18.16.1
Ubuntu 22.04.2 LTS
Expected behaviour
ofn update
should run successfully afterofn init
and no changes madeThe text was updated successfully, but these errors were encountered: