Merge pull request #35733 from hashicorp/component-forget-to-grpc

stacks: add destroy bool to FindStackConfigurationComponents Removed …
pull/35735/head
Daniel Schmidt 2 years ago committed by GitHub
commit 55d4cbb00a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -231,6 +231,7 @@ func stackConfigMetaforProto(cfgNode *stackconfig.ConfigNode, stackAddr stackadd
cProto := &stacks.FindStackConfigurationComponents_Removed{
SourceAddr: rc.FinalSourceAddr.String(),
ComponentAddr: stackaddrs.Config(stackAddr, stackaddrs.Component{Name: rc.FromComponent.Name}).String(),
Destroy: rc.Destroy,
}
switch {
case rc.ForEach != nil:

File diff suppressed because it is too large Load Diff

@ -117,6 +117,7 @@ message FindStackConfigurationComponents {
string source_addr = 1;
Instances instances = 2;
string component_addr = 3;
bool destroy = 4;
}
message InputVariable {
bool optional = 1;

Loading…
Cancel
Save