[ AWS CLI Command Reference ](../../index.html)

  * [ Home ](../../index.html)
  * [ User Guide ](https://docs.aws.amazon.com/cli/latest/userguide/)
  * [ Forum ](https://forums.aws.amazon.com/forum.jspa?forumID=150)
  * [ GitHub ](https://github.com/aws/aws-cli)

###  Navigation

  * [ index ](../../genindex.html "General Index")
  * [ next ](update-stack-set.html "update-stack-set") | 
  * [ previous ](update-stack.html "update-stack") | 
  * [ AWS CLI 2.15.40 Command Reference ](../../index.html) » 
  * [ aws ](../index.html) » 
  * [ cloudformation ](index.html) » 

  * [ ← update-stack ](update-stack.html "previous chapter \(use the left arrow\)") / 
  * [ update-stack-set → ](update-stack-set.html "next chapter \(use the right arrow\)")

[ ![Amazon Web Services logo](../../_static/logo.png) ](../../index.html)

###  [ Table of Contents ](../../index.html)

  * update-stack-instances 
    * Description 
    * Synopsis 
    * Options 
    * Global Options 
    * Examples 
    * Output 

###  Quick search

Search box  Search

###  Feedback

Did you find this page useful? Do you have a suggestion to improve the
documentation? [ Give us feedback ](https://docs.aws.amazon.com/forms/aws-doc-
feedback?hidden_service_name=AWS%20Command%20Line%20Interface&hidden_guide_name=Reference&topic_url=https%3A%2F%2Fdocs.aws.amazon.com%2Fcli%2Flatest%2Freference/cloudformation/update-
stack-instances.html) .  
If you would like to suggest an improvement or fix for the AWS CLI, check out
our [ contributing guide ](https://github.com/aws/aws-
cli/blob/develop/CONTRIBUTING.md) on GitHub.

###  User Guide

First time using the AWS CLI? See the [ User Guide
](https://docs.aws.amazon.com/cli/latest/userguide/) for help getting started.

[ [ aws  ](../index.html#cli-aws) . [ cloudformation  ](index.html#cli-aws-
cloudformation) ]

#  update-stack-instances  Â¶

##  Description  Â¶

Updates the parameter values for stack instances for the specified accounts,
within the specified Amazon Web Services Regions. A stack instance refers to a
stack in a specific account and Region.

You can only update stack instances in Amazon Web Services Regions and
accounts where they already exist; to create additional stack instances, use [
CreateStackInstances
](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStackInstances.html)
.

During stack set updates, any parameters overridden for a stack instance
arenât updated, but retain their overridden value.

You can only update the parameter _values_ that are specified in the stack
set; to add or delete a parameter itself, use [ UpdateStackSet
](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html)
to update the stack set template. If you add a parameter to a template, before
you can override the parameter value specified in the stack set you must first
use [ UpdateStackSet
](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html)
to update all stack instances with the updated template and parameter value
specified in the stack set. Once a stack instance has been updated with the
new parameter, you can then override the parameter value using `
UpdateStackInstances  ` .

See also: [ AWS API Documentation
](https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstances)

##  Synopsis  Â¶

    
    
      update-stack-instances
    --stack-set-name <value>
    [--accounts <value>]
    [--deployment-targets <value>]
    --regions <value>
    [--parameter-overrides <value>]
    [--operation-preferences <value>]
    [--operation-id <value>]
    [--call-as <value>]
    [--cli-input-json | --cli-input-yaml]
    [--generate-cli-skeleton <value>]
    [--debug]
    [--endpoint-url <value>]
    [--no-verify-ssl]
    [--no-paginate]
    [--output <value>]
    [--query <value>]
    [--profile <value>]
    [--region <value>]
    [--version <value>]
    [--color <value>]
    [--no-sign-request]
    [--ca-bund