1/* Default configuration file for Eclat. 2 * 3 * See eclat.conf(5) or run "info eclat configuration" for a detailed 4 * description. 5 */ 6 7# Use this endpoint by default. 8default-endpoint "ec2.amazonaws.com"; 9 10# Declare what endpoints to use for each availability region. 11# The syntax is: 12# region REGNAME ENDPOINT; 13 14# US East (Northern Virginia) Region 15region us-east-1 ec2.us-east-1.amazonaws.com; 16# US West (Oregon) Region 17region us-west-2 ec2.us-west-2.amazonaws.com; 18# US West (Northern California) Region 19region us-west-1 ec2.us-west-1.amazonaws.com; 20# EU (Ireland) Region 21region eu-west-1 ec2.eu-west-1.amazonaws.com; 22# Asia Pacific (Singapore) Region 23region ap-southeast-1 ec2.ap-southeast-1.amazonaws.com; 24# Asia Pacific (Tokyo) Region 25region ap-northeast-1 ec2.ap-northeast-1.amazonaws.com; 26# South America (Sao Paulo) Region 27region sa-east-1 ec2.sa-east-1.amazonaws.com; 28 29format-file "FORMATDIR/FORMATNAME.forlan"; 30 31# Ask for confirmation before running a destructive command. 32confirm tty destructive; 33 34# ##################################################################### 35# Sample resource maps. 36# 37# These maps use the Describe* EC2 requests to translate symbolic 38# resource names to the corresponding IDs. The resource name should be 39# stored in the Name tag of the corresponding resource. 40# ##################################################################### 41 42map "InstanceId" { 43 type ec2; 44 action DescribeInstances; 45 arguments ("Filter.1.Name=tag:Name", "Filter.1.Value.1=${key}"); 46 return ".DescribeInstancesResponse.reservationSet.item.instancesSet.item.instanceId"; 47} 48 49map "ImageId" { 50 type ec2; 51 action DescribeImages; 52 arguments ("Owner.1=self", 53 "Filter.1.Name=tag:Name", 54 "Filter.1.Value.1=${key}"); 55 return ".DescribeImagesResponse.imagesSet.item.imageId"; 56} 57 58map "VolumeId" { 59 type ec2; 60 action DescribeVolumes; 61 arguments ("Filter.1.Name=tag:Name", "Filter.1.Value.1=${key}"); 62 return ".DescribeVolumesResponse.volumeSet.item.volumeId"; 63} 64 65map "SnapshotId" { 66 type ec2; 67 action DescribeSnapshots; 68 arguments ("Owner.1=self", 69 "Filter.1.Name=tag:Name", 70 "Filter.1.Value.1=${key}"); 71 return ".DescribeSnapshotsResponse.snapshotSet.item.snapshotId"; 72} 73