Class: OpsBuild::Aws
- Inherits:
-
Object
- Object
- OpsBuild::Aws
- Defined in:
- lib/ops_build/aws.rb
Instance Method Summary collapse
- #aws_get_access_key ⇒ Object
- #aws_get_account_id ⇒ Object
- #aws_get_ec2_region ⇒ Object
- #aws_get_secret_key ⇒ Object
Instance Method Details
#aws_get_access_key ⇒ Object
10 11 12 |
# File 'lib/ops_build/aws.rb', line 10 def aws_get_access_key ENV['AWS_ACCESS_KEY'] end |
#aws_get_account_id ⇒ Object
6 7 8 |
# File 'lib/ops_build/aws.rb', line 6 def aws_get_account_id ENV['AWS_ACCOUNT_ID'] end |
#aws_get_ec2_region ⇒ Object
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_key ⇒ Object
14 15 16 |
# File 'lib/ops_build/aws.rb', line 14 def aws_get_secret_key ENV['AWS_SECRET_KEY'] end |