ec2:taginstance

Full name:

org.kuali.maven.plugins:ec2-maven-plugin:1.0.6:taginstance

Description:

Connect to EC2 and tag an instance with name/value pairs. Each instance can have up to 10 tags

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
accessKey String - The AWS Access Key Id for an account on EC2
instanceId String - The id of the instance to tag. Set this to NONE to skip tagging any instances
secretKey String - The AWS Secret Access Key for an account on EC2

Optional Parameters

Name Type Since Description
failIfNotFound boolean - If true, fail the build if no matching instance is found
Default value is: false.
tags List - List of tags to associate with the instance. Tags are key value pairs and can be supplied in the plugin configuration like this:
  <tags>
    <tag>
      <key>Name</key>
      <value>production</value>
    </tag>
    <tag>
      <key>Category</key>
      <value>networking</value>
    </tag>
  </tags>

Parameter Details

accessKey:

The AWS Access Key Id for an account on EC2
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${ec2.accessKey}

failIfNotFound:

If true, fail the build if no matching instance is found
  • Type: boolean
  • Required: No
  • Expression: ${ec2.failIfNotFound}
  • Default: false

instanceId:

The id of the instance to tag. Set this to NONE to skip tagging any instances
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${ec2.instanceId}

secretKey:

The AWS Secret Access Key for an account on EC2
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${ec2.secretKey}

tags:

List of tags to associate with the instance. Tags are key value pairs and can be supplied in the plugin configuration like this:
  <tags>
    <tag>
      <key>Name</key>
      <value>production</value>
    </tag>
    <tag>
      <key>Category</key>
      <value>networking</value>
    </tag>
  </tags>
  • Type: java.util.List
  • Required: No