Script to add a new cross-account role
I have an organization setup in AWS with many accounts and we will spin up and down accounts based on certain criteria so we have the requirement to get our AWS models on accounts and I currently have to manually go create/add the new cross-account role in Lucid. The role is created in our AWS accounts automatically using a CloudFormation StackSet so the role is there I just need an automated way to create the cross-account role in Lucid instead of using the GUI. We don't have to use the CLI method for this as we want the role to be what we use. Is there a script/api call or some other method we can use with Lucid to automate this?