Skip to content

Amazon Web Services Amazon Web Services: EC2 - Regions

Summary

This module contains actions for viewing & picking EC2 regions.

EC2 Region Lists

The list of EC2 regions is generated offline using the AWS EC2 development kit.

It is not possible to list regions using the EC2 API without first specifying a region to connect with.

For this reason none of the actions in this module require an aws_client input.

Actions

aws.ec2.regions.

get_all

Get all valid EC2 regions.

Minimum Plugin Version: 2.2.0

Input

This action takes no inputs.

Output

A list of EC2 region names.

Example
1
2
- aws.ec2.regions.get_all:
  save: ec2_regions

aws.ec2.regions.

select

Display a dropdown list of EC2 regions, & allow the task operator to select one.

Minimum Plugin Version: 2.2.0

Input
  • text: the text to display with the dropdown list
Output

An EC2 region name.

Example
1
2
3
- aws.ec2.regions.select:
    text: Select an EC2 Region
  save: region