Create a rule to be used through the account switch role.
Create a IAM role with administrator permissions to allow access user from an other account.
Region | Deploy Link |
---|---|
eu-west-1 | ![]() |
eu-west-3 | ![]() |
eu-central-1 | ![]() |
us-east-1 | ![]() |
us-east-2 | ![]() |
Using the SAM CLI:
sam build
sam deploy --guided
Including in an other SAM template:
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Resources:
RoleAccountAccess:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: # pick a templates links from section below, based on your region
Parameters:
RoleIdentifier: "CompanyName"
AccountId: 123456789012
This application need some parameters when you deploy it:
-
RoleIdentifier: Identifier appended to the end of the name of the role.
-
AccountId: The ID of the AWS account to be granted access.
- RoleArn: The ARN of the created access rule, to be communicated to whoever is to connect.
- Repository badges by Shields.io
- Infrastructure schema by Cloudcraft