While useful for end to end automation and test scenarios, it is quite common to create target applications e.g. via the AWS Management Console upfront and only manage Application Versions and Environments from your build and deployment projects.
To configure an AWS Elastic Beanstalk Application task:
1. Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).
2. Click the name of an existing AWS Elastic Beanstalk Application task, or click Add Task and then AWS Elastic Beanstalk Application to create a new task.
3. Complete the following settings:
a. Common to all tasks
b. Actions supported by this task:
To ease common scenarios, the Create action allows to Update [the] application, if it already exists, similarly the Update action allows to Create [the] application, if it does not already exist.
Update application, if it already exists
Check to cover both scenarios with a single task
Specify an application name.
Must be unique within your account. If the specified name already exists, the task will fail.
(Optional) Describe the application for easier identification.
Resource Lifecycle Configuration
(Optional) Specify a resource lifecycle configuration in JSON format.