rename from AWS to EC2 for consistency

The other cloud provider is GCE and not GCP. In the same way we are creating VMs
in EC2 on AWS.
This commit is contained in:
Samuel Beaulieu 2022-07-07 08:43:03 -05:00
parent ee36ee868d
commit 65c797137e
No known key found for this signature in database
GPG key ID: 12030F74136D0F34
9 changed files with 20 additions and 19 deletions

View file

@ -1,5 +1,5 @@
# frozen_string_literal: true
module VmpoolerProviderAws
module VmpoolerProviderEc2
VERSION = '0.0.1'
end

View file

@ -10,7 +10,7 @@ module Vmpooler
class PoolManager
class Provider
# This class represent a GCE provider to CRUD resources in a gce cloud.
class Aws < Vmpooler::PoolManager::Provider::Base
class Ec2 < Vmpooler::PoolManager::Provider::Base
# The connection_pool method is normally used only for testing
attr_reader :connection_pool
@ -51,7 +51,7 @@ module Vmpooler
# name of the provider class
def name
'aws'
'ec2'
end
def connection