Deploying StackSets to OUs with nested OUs

0

Hi. I'm trying to deploy a StackSet from the browser console. One target is an OU with a nested OU and an account. It works with no problem, the account in the nested OU is traversed and the stack is deployed to both accounts: the shallow one and the nested one in the child OU. But when I try to deploy it to an OU that has only OUs as children and no accounts it says that the Accounts list is empty. As there is defintely existing functionality to traverse nested OU accounts, the second case behaviour looks like a bug. Can it be fixed? Thanks

已提問 2 年前檢視次數 585 次
1 個回答
0

Hello there!

I have tested the use-case that you mentioned where deployments are made on an OU having only OUs as children but no accounts. However, I haven’t received any errors as such by doing so. Moreover if one or more child OUs are actually empty in the specified OU, there will be no errors thrown by CloudFormation and deploys to OUs that have accounts. (If auto deployment is enabled, for any new accounts added to the empty OUs targeted by the StackSets, a CREATE stack instance operation will be initiated).

Finally you can make use of Account Filter Type while deploying to have a much better control on deployments to limit deployment targets to individual accounts or include additional accounts with provided AWS Organizations units (OUs) with your Create, Update, or Delete operations.

AWS
支援工程師
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南