Use CAPABILITY_AUTO_EXPAND for nested stacks on CloudFormation : <p>I am trying to use nested stack and when my ChangeSet is being executed, I got this error:</p>

<p><code>Requires capabilities : [CAPABILITY_AUTO_EXPAND]</code></p>

<p>I went and create a pipeline with cloudformation.</p>

<p>This can be use to create a pipeline:</p>

<pre><code>Configuration:
  ActionMode: CHANGE_SET_REPLACE
  ChangeSetName: changeset
  RoleArn: ??
  Capabilities: CAPABILITY_IAM
  StackName: appsync-graphql
  TemplatePath: BuildArtifact::output.yaml
</code></pre>

<p>This can’t:</p>

<pre><code>Configuration:
  ActionMode: CHANGE_SET_REPLACE
  ChangeSetName: changeset
  RoleArn: ??
  Capabilities: 
    - CAPABILITY_IAM
    - CAPABILITY_AUTO_EXPAND
  StackName: appsync-graphql
  TemplatePath: BuildArtifact::output.yaml
</code></pre>

<p>The error was: “Value of property Configuration must be an object with String (or simple type) properties”</p>

<p>This is the closest docs that I find: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStack.html" rel="noreferrer">https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStack.html</a></p>

<p>It said: <code>Type: Array of strings</code> for capabilites, and the aws cli docs says similarly, but doesn’t give an example.</p>

<p>So I ran out of ideas about what else to try to have CAPABILITY_AUTO_EXPAND capability.</p>
