Documentation for Tasks for AWS 2.11 – other releases are available in the Tasks for AWS Documentation Directory.
View

Unknown macro: {spacejump}

or visit the current documentation home.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

You can use the App task to create, update or delete an AWS OpsWorks application (see Deploying to AWS OpsWorks for an overview of the OpsWorks component lifecycle and deployment workflow).

Configuration

To configure an AWS OpsWorks App 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 OpsWorks App task, or click Add Task and then AWS OpsWorks Application to create a new task.
  3. Complete the following settings:

    1. Common to all tasks

       Click here to expand...
      Task Description (Optional) Identify the purpose of the task.
      Disable this task

      Check, or clear, to selectively run this task.

      Action

      Each task supports one or more actions depending on the target AWS resource. Select the desired action and configure the action specific parameters below.

      RegionSelect the desired AWS Region. Alternatively, select [Use region variable ...] to supply the region dynamically via Bamboo variables (needs to be a region code such as ap-southeast-2) - refer to How to parametrize the AWS region via a Bamboo variable for details.
      ...Configure task/action specific parameters, see below ...
      AWS Security Credentials
      SourceSelect the source for the required AWS Security Credentials - can be either Inline, an IAM Role for EC2 or a shared Identity Federation for AWS Connector.
      Connector(Conditional) Select the shared Identity Federation for AWS Connector. Alternatively, select [Use connector variable ...] to supply the connector dynamically via Bamboo variables (needs to be a connector id such as f24e81bc-7aff-42db-86a2-7cf82e24d871) - refer to How to parametrize the AWS connector via a Bamboo variable for details.

    • Actions supported by this task:

      Create App

       
      Stack ID

      Specify the stack ID.

      Name

      Specify the app name.

      TypeSpecify the app type.
      Short Name

      (Optional) Specify the app's short name.

      Description

      (Optional) Specify the app description.

      Data Sources(Optional) Specify data sources in JSON format.
      Application Source(Optional) Specify the application source in JSON format.
      Domains(Optional) Specify domains for the app virtual host settings (separated by semicolons).
      SSL Configuration(Optional) Specify the SSL configuration in JSON format.
      Attributes
      (Optional) Specify attributes in JSON format.
      Environment
      (Optional) Specify environment variables in JSON format.

      Update App

       
      App ID

      Specify the app ID.

      Name

      see Create above

      Typesee Create above
      Description

      see Create above

      Data Sources
      see Create above
      Application Source
      see Create above
      Domainssee Create above
      SSL Configuration
      see Create above
      Attributes JSONsee Create above
      Environment
      see Create above

      Delete App

       
      App ID
      see Update above

Variables

All tasks support Bamboo Variable Substitution/Definition - this task's actions generate variables as follows:

A task's generated variables might get amended with respective AWS API additions over time - a live build log will always provide the most current variable shape accordingly

Create App

Creating common variables for app 'd4373b18-22fd-48a0-9dc0-a4bcfdf41a62':
... bamboo.custom.aws.opsworks.app.resources: d4373b18-22fd-48a0-9dc0-a4bcfdf41a62
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.AppId: d4373b18-22fd-48a0-9dc0-a4bcfdf41a62
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.CreatedAt: 2015-11-26T19:42:17+00:00
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.Description: null
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.Name: TAWS-IT290-17-ubot
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.Shortname: taws_it290_17_ubot
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.StackId: 1be97ed9-5647-44f2-8e93-421ce4a827e1
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.Type: php
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.AppSource: {Type: git,Url: git://github.com/amazonwebservices/opsworks-demo-php-simple-app.git,Revision: version1}
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.Attributes: {"DocumentRoot":"web","AutoBundleOnDeploy":"true"}
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.DataSources: [{Type: AutoSelectOpsworksMysqlInstance,DatabaseName: taws_it290_17_ubot}]
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.Domains: []
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.EnableSsl: false
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.SslConfiguration: {}
... bamboo.custom.aws.opsworks.app.resources.d4373b18-22fd-48a0-9dc0-a4bcfdf41a62.Environment: []
Creating common variables for first resource affected by task:
... bamboo.custom.aws.opsworks.app.first.AppId: d4373b18-22fd-48a0-9dc0-a4bcfdf41a62
... bamboo.custom.aws.opsworks.app.first.CreatedAt: 2015-11-26T19:42:17+00:00
... bamboo.custom.aws.opsworks.app.first.Description: null
... bamboo.custom.aws.opsworks.app.first.Name: TAWS-IT290-17-ubot
... bamboo.custom.aws.opsworks.app.first.Shortname: taws_it290_17_ubot
... bamboo.custom.aws.opsworks.app.first.StackId: 1be97ed9-5647-44f2-8e93-421ce4a827e1
... bamboo.custom.aws.opsworks.app.first.Type: php
... bamboo.custom.aws.opsworks.app.first.AppSource: {Type: git,Url: git://github.com/amazonwebservices/opsworks-demo-php-simple-app.git,Revision: version1}
... bamboo.custom.aws.opsworks.app.first.Attributes: {"DocumentRoot":"web","AutoBundleOnDeploy":"true"}
... bamboo.custom.aws.opsworks.app.first.DataSources: [{Type: AutoSelectOpsworksMysqlInstance,DatabaseName: taws_it290_17_ubot}]
... bamboo.custom.aws.opsworks.app.first.Domains: []
... bamboo.custom.aws.opsworks.app.first.EnableSsl: false
... bamboo.custom.aws.opsworks.app.first.SslConfiguration: {}
... bamboo.custom.aws.opsworks.app.first.Environment: []

Update App

See Create above.

Delete App

N/A

How-to Articles

Frequently Asked Questions (FAQ)

  • No labels