Repository navigation
Commit 1dddd8a
authored
feat(toolkit): Stop creating 'empty' stacks (#779)
When deploying a stack for the first time in an environment, the toolkit
would until now create the stack with a dummy resource (a
WaitConditionHandle), so it could then prepare & execute a ChangeSet.
It turns out it is possible to use a CHangeSet to create a stack as well,
by passing a CHangeSetType parameter to the CreateChangeSet API. This
commit changes the toolkit to use this feature, so that the first
deployment of a stack is going to behave a lot more consistently compared
to the subsequent update deployments. It also removes quite a bit of code.1 parent f697876 commit 1dddd8a
1 file changed
Lines changed: 3 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 44 | + | |
49 | 45 | | |
50 | 46 | | |
51 | | - | |
| 47 | + | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
| 51 | + | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
| |||
87 | 84 | | |
88 | 85 | | |
89 | 86 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | 87 | | |
109 | 88 | | |
110 | 89 | | |
| |||
0 commit comments