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
Please complete the following information about the solution:
Version: 1.6.1 [e.g. v1.5.1]
To get the version of the solution, you can look at the description of the created AWS CloudFormation stack used to install the LZA (AWSAccelerator-InstallerStack). For example, "(SO0199) Landing Zone Accelerator on AWS. Version 1.5.1.". If the description does not contain the version information, you can look at the Parameters of the stack for the RepositoryBranchName as that should contain the version number.
Region: ap-southeast-2 [e.g. us-east-1]
Was the solution modified from the version published on this repository? No
If the answer to the previous question was yes, are the changes available on GitHub?
Have you checked your service quotas for the services this solution uses? Yes
Were there any errors in the CloudWatch Logs? No
Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Describe the bug
Creating Tag Policies only works if the deployment target is a OU, does not work if a deployment target is a specific Account.
To Reproduce
organization-config.yaml
Expected behavior
![Screenshot 2024-05-21 at 12 17 51 PM](https://private-user-images.githubusercontent.com/2188401/332254601-be3c0f6a-0ae6-4f75-aa86-e09746245fcf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg0MjU4ODQsIm5iZiI6MTcxODQyNTU4NCwicGF0aCI6Ii8yMTg4NDAxLzMzMjI1NDYwMS1iZTNjMGY2YS0wYWU2LTRmNzUtYWE4Ni1lMDk3NDYyNDVmY2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTVUMDQyNjI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjY4MjhjYjg3NWNkNjNjYTU4YTc3ZjUxMjQwZTY2ZmYzOTE0MDMzNDM2YTcxOWFhOGY1MmFjODViOGUwYWZhNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.1hgckl1iLT7mvIAt2bu23I_lBaLgiGL79V1tGE9TglQ)
I expect a Tag policy to be attached to an account directly:
When using the cli, the following command results in the expected behaviour:
Please complete the following information about the solution:
Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Source code confirms that this functionality has only been implemented for Organization Units:
https://github.com/awslabs/landing-zone-accelerator-on-aws/blob/main/source/packages/%40aws-accelerator/accelerator/lib/stacks/organizations-stack.ts#L648-L693
The text was updated successfully, but these errors were encountered: