aws-cloudformation / aws-cloudformation-resource-providers-cloudformation

The CloudFormation Resource Provider Package For AWS CloudFormation
https://aws.amazon.com/cloudformation/
Apache License 2.0
48 stars 35 forks source link

Fix StackSet Update - Only update Parameters/AutoDeployment #40

Closed xiwhuang closed 3 years ago

xiwhuang commented 3 years ago

Issue #38

Description of changes:

Testing

Testing Template

Resources:
  TestStackSet:
    Type: AWS::CloudFormation::StackSet
    Properties:
      StackSetName: StackSet-UpdateTest
      Description: Description
      PermissionModel: SERVICE_MANAGED
      AutoDeployment:
        Enabled: true
        RetainStacksOnAccountRemoval: true
      Parameters:
        - ParameterKey: Number
          ParameterValue: 150
      TemplateBody: |
        Parameters:
          Number:
            Type: "String"
        Resources:
          WaitCondition: 
            Type: AWS::CloudFormation::WaitCondition
            Properties: 
              Timeout: !Ref Number
Outputs:
  StackSetId:
    Value: !Ref TestStackSet

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.