8000 Remove incorrect template stashing · localstack/localstack@ae5add4 · GitHub
[go: up one dir, main page]

Skip to content

Commit ae5add4

Browse files
committed
Remove incorrect template stashing
This breaks the old provider
1 parent 9bbb6a8 commit ae5add4

File tree

1 file changed

+0
-2
lines changed
  • localstack-core/localstack/services/cloudformation

1 file changed

+0
-2
lines changed

localstack-core/localstack/services/cloudformation/provider.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,6 @@ def create_change_set(
725725
# only set parameters for the changeset, then switch to stack on execute_change_set
726726
change_set.set_resolved_parameters(resolved_parameters)
727727
change_set.template_body = template_body
728-
change_set.template_original = template
729728

730729
# TODO: evaluate conditions
731730
raw_conditions = transformed_template.get("Conditions", {})
@@ -888,7 +887,6 @@ def execute_change_set(
888887
try:
889888
deployer.apply_change_set(change_set)
890889
change_set.stack.metadata["ChangeSetId"] = change_set.change_set_id
891-
change_set.stack.template_original = change_set.template_original
892890
except NoStackUpdates:
893891
# TODO: parity-check if this exception should be re-raised or swallowed
894892
raise ValidationError("No updates to be performed for stack change set")

0 commit comments

Comments
 (0)
0