Class: Enscalator::Core::NetworkConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/enscalator/core/network_config.rb

Overview

Configuration specific for VPC setup

Class Method Summary collapse

Class Method Details

.mapping_vpc_netObject

VPC network mapping



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/enscalator/core/network_config.rb', line 6

def self.mapping_vpc_net
  {
    'us-east-1': { VPC: '10.0.0.0/16' },
    'us-west-1': { VPC: '10.16.0.0/16' },
    'us-west-2': { VPC: '10.8.0.0/16' },
    'eu-west-1': { VPC: '10.24.0.0/16' },
    'eu-central-1': { VPC: '10.32.0.0/16' },
    'ap-southeast-1': { VPC: '10.40.0.0/16' },
    'ap-northeast-1': { VPC: '10.48.0.0/16' },
    'ap-southeast-2': { VPC: '10.56.0.0/16' },
    'sa-east-1': { VPC: '10.64.0.0/16' }
  }.with_indifferent_access
end