Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions cmd/workflow-plugin-aws/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
// Command workflow-plugin-aws is a workflow engine external plugin that
// provides AWS infrastructure provisioning via the IaCProvider interface.
// It runs as a subprocess and communicates with the host workflow engine via
// the go-plugin protocol.
// provides AWS infrastructure provisioning via the typed IaC gRPC contract.
// It runs as a subprocess and communicates with the host (wfctl) via the
// go-plugin protocol.
//
// As of the strict-contracts force-cutover (workflow v0.51.0+, issue #8),
// the plugin is served via sdk.ServeIaCPlugin which auto-registers every
// typed pb.IaCProvider*Server interface the underlying *AWSProvider satisfies.
// The legacy sdk.Serve / PluginService InvokeService string-dispatch surface
// has been removed entirely — there is no fallback path.
package main

import (
Expand All @@ -10,5 +16,5 @@ import (
)

func main() {
sdk.Serve(internal.NewAWSPlugin())
sdk.ServeIaCPlugin(internal.NewIaCServer(), sdk.IaCServeOptions{})
}
Loading
Loading