When you execute a Takomo command, the AWS credentials present in the current terminal session dictate the target AWS account. We call these credentials the default credentials.
Should you want to target a different account, you can specify an IAM role that Takomo should assume using the default credentials and then use it to execute the commands to the account where the role is bound. We call this role the command role, and you can specify it with the commandRole
property, which accepts an IAM role ARN.
The command role must not require MFA authentication.
Specify a command role:
commandRole
property can be defined in:
When commandRole
property is defined in a stack group configuration file:
When commandRole
property is defined in a blueprint configuration file:
When commandRole
property is defined in a stack configuration file:
The commandRole
property must satisfy these requirements: