stacks: emit component address in find stack configuration component response

pull/34762/head
Daniel Schmidt 2 years ago
parent cf3bbb890f
commit 0cea00e919
No known key found for this signature in database
GPG Key ID: 377C3A4D62FBBBE2

@ -159,7 +159,8 @@ func stackConfigMetaforProto(cfgNode *stackconfig.ConfigNode) *terraform1.FindSt
for name, cc := range cfgNode.Stack.Components {
cProto := &terraform1.FindStackConfigurationComponents_Component{
SourceAddr: cc.FinalSourceAddr.String(),
SourceAddr: cc.FinalSourceAddr.String(),
ComponentAddr: stackaddrs.Component{Name: cc.Name}.String(),
}
switch {
case cc.ForEach != nil:

File diff suppressed because it is too large Load Diff

@ -471,6 +471,7 @@ message FindStackConfigurationComponents {
message Component {
string source_addr = 1;
Instances instances = 2;
string component_addr = 3;
}
}

Loading…
Cancel
Save