I currently need to create an iam policy with a service as a principal,
Now, i know that you can have:
"Service": [
"ec2.amazonaws.com"
On your policy, but that states the ec2 service on your own account, how can i do the same for a different account? given that i cannot create a role for the service im trying to use since it is for a machine learning installation from the web console?