<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/aws-cloudformation-service-managed-stacksets-adds-custom-execution-roles-with-nested-stacks-support-xg0syftza" -->

---
title: AWS CloudFormation Service-Managed StackSets adds custom...
description: AWS CloudFormation service-managed StackSets now supports custom execution roles, letting you scope permissions StackSets uses in each target account. By...
canonical: https://daily.dev/posts/aws-cloudformation-service-managed-stacksets-adds-custom-execution-roles-with-nested-stacks-support-xg0syftza
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: AWS CloudFormation Service-Managed StackSets adds custom execution roles with nested stacks support | daily.dev
og:description: AWS CloudFormation service-managed StackSets now supports custom execution roles, letting you scope permissions StackSets uses in each target account. By...
og:url: https://daily.dev/posts/aws-cloudformation-service-managed-stacksets-adds-custom-execution-roles-with-nested-stacks-support-xg0syftza
og:image: https://api.daily.dev/og/posts/XG0SyFTZa.png
og:image:alt: AWS CloudFormation Service-Managed StackSets adds custom execution roles with nested stacks support
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS CloudFormation Service-Managed StackSets adds custom execution roles with nested stacks support

**[AWS](https://daily.dev/sources/aws)** · 2 min read · 0 upvotes · 0 comments

## Summary

AWS CloudFormation service-managed StackSets now supports custom execution roles, letting you scope permissions StackSets uses in each target account. By default, StackSets uses a role that can provision any resource without setup, but you can now supply a template defining a restricted IAM execution role instead. With a custom execution role, you can also use nested stacks, macros, and transforms in service-managed stack sets. For example, a stack set creating S3 buckets can use a role limited to CloudFormation and S3 permissions only. Updating the execution role template updates the role across every deployed account. You enable it via 'Set execution role' in the console, CLI, or SDKs, at no additional charge in commercial, GovCloud, and China Regions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://aws.amazon.com/about-aws/whats-new/2026/11/stacksets-custom-execution-roles>

## Questions this post answers

### How do I restrict the permissions AWS CloudFormation StackSets uses in each target account?

You define a custom execution role in service-managed StackSets by providing a template that creates an IAM role, which StackSets deploys in each target account before provisioning resources. For example, a stack set creating S3 buckets can use an execution role limited to CloudFormation and S3 permissions instead of the default role that can provision any resource. Updating the template updates the role across every account where the stack set was deployed.

_Teams tightening multi-account IAM scope can track AWS infrastructure changes like this on daily.dev._

### Can I use nested stacks with service-managed CloudFormation StackSets?

Yes, but only when using a custom execution role. Service-managed stack sets now support nested stacks, macros, and transforms once you define a custom execution role, which lets you deploy the same reusable templates used for individual stacks across an entire organization's accounts and regions.

_Engineers reusing CloudFormation templates across accounts can keep up with platform updates like this on daily.dev._

## Similar posts on daily.dev

- [Announcing custom execution roles for AWS CloudFormation StackSets](https://daily.dev/posts/announcing-custom-execution-roles-for-aws-cloudformation-stacksets-mntduiumi) · AWS · 0 upvotes · 0 comments
- [Take fine-grained control of your AWS CloudFormation StackSets Deployment with StackSet Dependencies](https://daily.dev/posts/take-fine-grained-control-of-your-aws-cloudformation-stacksets-deployment-with-stackset-dependencies-hyg4wrmh1) · AWS · 1 upvotes · 0 comments
- [Track AWS CloudFormation StackSets deployments with progress visibility](https://daily.dev/posts/track-aws-cloudformation-stacksets-deployments-with-progress-visibility-ochuqy6dt) · AWS · 0 upvotes · 0 comments
- [Where to run AWS workloads and how to limit their access](https://daily.dev/posts/where-to-run-aws-workloads-and-how-to-limit-their-access-whacwrigt) · Datadog · 0 upvotes · 0 comments
- [AWS Introduces CloudFormation Express Mode for Faster Infrastructure Deployments](https://daily.dev/posts/aws-introduces-cloudformation-express-mode-for-faster-infrastructure-deployments-o1q0r1pld) · InfoQ · 0 upvotes · 0 comments

---

Tags: [#aws](https://daily.dev/tags/aws), [#iac](https://daily.dev/tags/iac), [#iam](https://daily.dev/tags/iam), [#aws-cloudformation](https://daily.dev/tags/aws-cloudformation)

[View this post on daily.dev](https://daily.dev/posts/aws-cloudformation-service-managed-stacksets-adds-custom-execution-roles-with-nested-stacks-support-xg0syftza)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"AWS CloudFormation Service-Managed StackSets adds custom execution roles with nested stacks support","url":"https://daily.dev/posts/aws-cloudformation-service-managed-stacksets-adds-custom-execution-roles-with-nested-stacks-support-xg0syftza","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/aws-cloudformation-service-managed-stacksets-adds-custom-execution-roles-with-nested-stacks-support-xg0syftza"},"datePublished":"2026-11-20T18:03:41.248Z","dateModified":"2026-11-20T18:04:06.555Z","description":"AWS CloudFormation service-managed StackSets now supports custom execution roles, letting you scope permissions StackSets uses in each target account. By...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2d99c2aecc14a73a5cba88addc902c88?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2d99c2aecc14a73a5cba88addc902c88?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"AWS","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"AWS","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aws","url":"https://daily.dev/sources/aws"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/aws-cloudformation-service-managed-stacksets-adds-custom-execution-roles-with-nested-stacks-support-xg0syftza","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"aws,iac,iam,aws-cloudformation","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"AWS","item":"https://daily.dev/sources/aws"},{"@type":"ListItem","position":3,"name":"AWS CloudFormation Service-Managed StackSets adds custom execution roles with nested stacks support"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/aws-cloudformation-service-managed-stacksets-adds-custom-execution-roles-with-nested-stacks-support-xg0syftza#faq","mainEntity":[{"@type":"Question","name":"How do I restrict the permissions AWS CloudFormation StackSets uses in each target account?","acceptedAnswer":{"@type":"Answer","text":"You define a custom execution role in service-managed StackSets by providing a template that creates an IAM role, which StackSets deploys in each target account before provisioning resources. For example, a stack set creating S3 buckets can use an execution role limited to CloudFormation and S3 permissions instead of the default role that can provision any resource. Updating the template updates the role across every account where the stack set was deployed. Teams tightening multi-account IAM scope can track AWS infrastructure changes like this on daily.dev."}},{"@type":"Question","name":"Can I use nested stacks with service-managed CloudFormation StackSets?","acceptedAnswer":{"@type":"Answer","text":"Yes, but only when using a custom execution role. Service-managed stack sets now support nested stacks, macros, and transforms once you define a custom execution role, which lets you deploy the same reusable templates used for individual stacks across an entire organization's accounts and regions. Engineers reusing CloudFormation templates across accounts can keep up with platform updates like this on daily.dev."}}]}
```

