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
Namely, I would like to create OUs under the current account—i.e.: the account to which the AWS credentials used to run cdk belong to. I'm missing a way to specify "this account" for the parent parameter. cdk deploy returns the following error:
Key 'parent': Unable to deserialize value as @pepperize/cdk-organizations.IParent
If I specify a string constant with the ARN or ID of the organization where I want the OUs to be created, I get the following error:
Key 'parent': Unable to deserialize value as @pepperize/cdk-organizations.IParent
I feel like this use case is frequent enough, that saying parent=None should do the trick, but would settle for a method returning the IAccount for the current account—perhaps it is there and I haven't been able to find it?
Thanks in advance.
-lem
The text was updated successfully, but these errors were encountered:
Hi there,
Thanks for this library!
I am having issues with code like the following:
Namely, I would like to create OUs under the current account—i.e.: the account to which the AWS credentials used to run
cdk
belong to. I'm missing a way to specify "this account" for the parent parameter.cdk deploy
returns the following error:If I specify a string constant with the ARN or ID of the organization where I want the OUs to be created, I get the following error:
I feel like this use case is frequent enough, that saying
parent=None
should do the trick, but would settle for a method returning the IAccount for the current account—perhaps it is there and I haven't been able to find it?Thanks in advance.
-lem
The text was updated successfully, but these errors were encountered: