mirror of
https://github.com/apache/jclouds.git
synced 2025-02-14 14:06:39 +00:00
deprecated hardware types in EC2 are flagged using this, according to latest AWS advice, to fix situations where deprecated hardware types would be chosen when a non-deprecated alternative exists. we also deprecate T2 because it requires a VPC. also fixes semantics of ImagesToRegionAndIdMap to match the logic used in the TemplateBuilderImpl; RegionAndName should contain the ID not the ProviderID. this is only really used in tests so no external impact. (previously the cache only worked if provider ID matched the non-location segment of the image ID.) however this does now assert that image id's are in the right format for AWS, as suggested by @nacx.
# # The jclouds provider for Amazon's EC2 (http://aws.amazon.com/ec2/). # # Expects the jclouds ec2 API to be present on your application's classpath. # # TODO: Implementation status. # TODO: Supported features. # TODO: Usage example.