resilience-hub-multi-account

Configures AWS Resilience Hub v2 cross-account IAM roles for centralized multi-account resilience assessments.

2.5k|282|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill resilience-hub-multi-account
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resilience-hub-multi-account
Source: https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/resilience-skills/resilience-hub-multi-account
Command: npx skills add https://github.com/aws/agent-toolkit-for-aws --skill resilience-hub-multi-account

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Setting up AWS Resilience Hub v2 to assess workloads that span multiple AWS accounts requires correctly wiring invoker roles, cross-account IAM roles, external IDs, and per-service permission models — a process that is easy to misconfigure and conflate with the separate Organizations delegated-administrator integration.

Core Features & Use Cases

  • Cross-Account IAM Setup: Creates the central invoker role and member-account cross-account roles with least-privilege, read-only discovery permissions and confused-deputy protections (externalId, aws:PrincipalOrgID, SourceAccount conditions).
  • Per-Service Permission Model: Registers services with aws resiliencehubv2 create-service --permission-model so a central account can discover and assess resources in member accounts.
  • Verification & Troubleshooting: Validates setup with list-services and list-input-sources, and diagnoses AccessDenied and empty-discovery failures.
  • Use Case: A platform team wants one central account to run resilience assessments against workloads in five member accounts; this skill walks through role creation, service registration, and verification step by step.

Quick Start

Ask the agent to set up Resilience Hub v2 cross-account assessment from your central account for a service spanning your member accounts.

Frequently Asked Questions about resilience-hub-multi-account

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up AWS Resilience Hub for multiple accounts?

Create an invoker role in the central account, create read-only cross-account roles in each member account trusting that invoker role, then register each service with `aws resiliencehubv2 create-service --permission-model` listing the cross-account role ARNs. Verify with list-services and list-input-sources.

What is the difference between Resilience Hub delegated administrator and cross-account permission model?

The delegated administrator is an AWS Organizations integration for org-wide policy management and visibility, configured from the management account via trusted access and the console. The per-service cross-account permission model uses invoker and cross-account IAM roles to run actual cross-account assessments.

Is there a register-delegated-administrator command in the resiliencehubv2 CLI?

No. The resiliencehubv2 API has no register-delegated-administrator operation. Delegated administrator registration is done through AWS Organizations trusted access and the Resilience Hub console from the management account.

Why does my Resilience Hub cross-account assessment fail with AccessDenied?

AccessDenied usually means the cross-account role ARN in the permission model does not match exactly, the member-account trust policy does not allow the central invoker role to assume it, or the externalId does not match. Also confirm the invoker role has sts:AssumeRole permission for every member-account role ARN.

What permissions does the Resilience Hub cross-account role need?

The member-account role needs read-only discovery permissions such as cloudformation:DescribeStacks, ec2:DescribeInstances, rds:DescribeDBInstances, and elasticloadbalancing:DescribeLoadBalancers. Extend the action list based on the resource types in scope and the current Resilience Hub IAM permissions reference.

How should I handle the externalId for cross-account roles securely?

Generate the externalId with a cryptographically random generator, store it in AWS Secrets Manager or SSM Parameter Store as a SecureString, and reference it dynamically at deploy time. Avoid passing it in shell history or plaintext CI/CD logs, and rotate it periodically.