File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
localstack-core/localstack/services/cloudformation/v2 Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 8
8
CreateChangeSetInput ,
9
9
DescribeChangeSetOutput ,
10
10
ExecutionStatus ,
11
+ Output ,
11
12
Parameter ,
12
13
StackDriftInformation ,
13
14
StackDriftStatus ,
@@ -111,12 +112,17 @@ def describe_details(self) -> ApiStack:
111
112
"Tags" : [],
112
113
}
113
114
if self .resolved_outputs :
114
- result ["Outputs" ] = [
115
- # TODO(parity): Description, ExportName
116
- # TODO(parity): what happens on describe stack when the stack has not been deployed yet?
117
- {"OutputKey" : k , "OutputValue" : v }
118
- for k , v in self .resolved_outputs .items ()
119
- ]
115
+ describe_outputs = []
116
+ for key , value in self .resolved_outputs .items ():
117
+ describe_outputs .append (
118
+ Output (
119
+ # TODO(parity): Description, ExportName
120
+ # TODO(parity): what happens on describe stack when the stack has not been deployed yet?
121
+ OutputKey = key ,
122
+ OutputValue = value ,
123
+ )
124
+ )
125
+ result ["Outputs" ] = describe_outputs
120
126
return result
121
127
122
128
You can’t perform that action at this time.
0 commit comments