Skip to content

stackset deploy: InvalidOperationException when changing value of managedexecution #748

@dhx-mike-palandra

Description

@dhx-mike-palandra
$ rain --version
Rain v1.24.2 linux/amd64

When rain calls UpdateStackSet, I suspect it always passes either TemplateBody or TemplateURL but never UsePreviousTemplate.
When such an update involves changing the state of managed execution, e.g. fragment of file passed to --config changed from:

StackSet:
  managedexecution:
    active: false

to:

StackSet:
  managedexecution:
    active: true

or vice-versa, the following error occurs upon deployment:

InvalidOperationException: Cannot update ManagedExecution while updating StackSet Template or Parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions