Skip to content

Commit d374fa9

Browse files
authored
Add ecs app kind fix (#6522)
* added ECS to the printed allowed values for --app-kind Signed-off-by: antedotee <soniyadav2051982@gmail.com> * mistakenly added Signed-off-by: antedotee <soniyadav2051982@gmail.com> * Update note on pipectl command documentation Clarify documentation regarding pipectl command usage. Signed-off-by: ky505 <151192805+antedotee@users.noreply.github.com> --------- Signed-off-by: antedotee <soniyadav2051982@gmail.com> Signed-off-by: ky505 <151192805+antedotee@users.noreply.github.com>
1 parent 649e8f6 commit d374fa9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/content/en/docs-dev/user-guide/command-line-tool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Usage:
193193

194194
Flags:
195195
--app-dir string The relative path from the root of repository to the application directory.
196-
--app-kind string The kind of application. (KUBERNETES|TERRAFORM|LAMBDA|CLOUDRUN)
196+
--app-kind string The kind of application. (KUBERNETES|TERRAFORM|LAMBDA|CLOUDRUN|ECS)
197197
--app-name string The application name.
198198
--platform-provider string The platform provider name. One of the registered providers in the piped configuration. The previous name of this field is cloud-provider.
199199
--config-file-name string The configuration file name. (default "app.pipecd.yaml")

pkg/app/pipectl/cmd/application/add.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func newAddCommand(root *command) *cobra.Command {
5151
}
5252

5353
cmd.Flags().StringVar(&c.appName, "app-name", c.appName, "The application name.")
54-
cmd.Flags().StringVar(&c.appKind, "app-kind", c.appKind, "The kind of application. (KUBERNETES|TERRAFORM|LAMBDA|CLOUDRUN)")
54+
cmd.Flags().StringVar(&c.appKind, "app-kind", c.appKind, "The kind of application. (KUBERNETES|TERRAFORM|LAMBDA|CLOUDRUN|ECS)")
5555
cmd.Flags().StringVar(&c.pipedID, "piped-id", c.pipedID, "The ID of piped that should handle this application.")
5656
cmd.Flags().StringVar(&c.platformProvider, "platform-provider", c.platformProvider, "The platform provider name. One of the registered providers in the piped configuration. Previous name of this field is cloud-provider.")
5757

0 commit comments

Comments
 (0)