We're following the AWS tutorial mentioned in the Resources section below. We want to create the roles in such a way that
- Users in the
Source
account (the trusted account) allowed to assume a specific role in theDestination
account. - A role in the
Destination
account (the trusting account) allowed administrator access to all S3 buckets in theDestination
account.
To setup the experiment, we'll need access to two AWS accounts. Use the terraform
configuration to create the right resources across AWS.
cd terraform
terraform plan -out=aws_experiment
terraform apply aws_experiment