assume-cloudformation-role

Installation
SKILL.md

Assume CloudFormation Write Role

A skill to obtain the necessary credentials for AWS CloudFormation stack operations (create, delete, update) and set them as environment variables.

Purpose

Before CloudFormation operations, assume the specified role to obtain temporary credentials and set them as environment variables that can be used by AWS CLI.

Input Parameters

  • profile: AWS CLI profile name (default: <profile-name>)
  • role_arn: IAM role ARN to assume (default: arn:aws:iam::<AWS_ACCOUNT_ID>:role/<RoleName>)
  • role_session_name: Session name (default: cfn-write)

Execution Steps

Related skills
Installs
5
First Seen
Feb 21, 2026