Class: OpsBuild::Aws

Inherits:
Object
  • Object
show all
Defined in:
lib/ops_build/aws.rb

Instance Method Summary collapse

Instance Method Details

#aws_get_access_keyObject



10
11
12
# File 'lib/ops_build/aws.rb', line 10

def aws_get_access_key
  ENV['AWS_ACCESS_KEY']
end

#aws_get_account_idObject



6
7
8
# File 'lib/ops_build/aws.rb', line 6

def 
  ENV['AWS_ACCOUNT_ID']
end

#aws_get_ec2_regionObject



18
19
20
# File 'lib/ops_build/aws.rb', line 18

def aws_get_ec2_region
  ENV['AWS_EC2_REGION'] ? ENV['AWS_EC2_REGION'] : 'us-east-1'
end

#aws_get_secret_keyObject



14
15
16
# File 'lib/ops_build/aws.rb', line 14

def aws_get_secret_key
  ENV['AWS_SECRET_KEY']
end