Yes, as long as the builder satisfies the builder interface, and the communicator satisfies the communicator interface, then you're good to go. You'll need to bundle the communicator in with the builder plugin, since there's no way to independently serve a communicator. Your custom communicator won't be able to used with built-in builders, just your custom one where it's bundled. But I believe it should work with the built-in provisioners as long as it implements all of the communicator methods.
On Fri, May 29, 2020 at 2:26 PM Nathan Mische <[email protected]> wrote: > Hi, > > We are developing a custom builder and I was wondering if it is possible > to package a custom communicator in with the builder plugin? I see some > other built in builders like docker and hyperone include custom > communicators, I just wasn't sure if this could be done with a builder > plugin. > > Thanks, > -Nathan > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/hashicorp/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/44b4d387-4709-446d-9ae9-f3a301bff561%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/44b4d387-4709-446d-9ae9-f3a301bff561%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/hashicorp/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAGPV1uqb6LLSKO%2BgmtFV%2BiFdYdvUrhNoEn3E4f0okRQo4ZzHgg%40mail.gmail.com.
