Module: Stackit::Mixin::OpsWorks

Included in:
OpsWorksManagedStackService
Defined in:
lib/stackit/mixin/opsworks.rb

Instance Method Summary collapse

Instance Method Details

#opsworks_cookbook_source(key = :DevOpsBucket, cookbook_archive = 'cookbooks.tar.gz') ⇒ Object



7
8
9
# File 'lib/stackit/mixin/opsworks.rb', line 7

def opsworks_cookbook_source(key = :DevOpsBucket, cookbook_archive = 'cookbooks.tar.gz')
  "https://s3.amazonaws.com/#{resolve_parameter(key)}/#{cookbook_archive}"
end

#opsworks_service_role_arn(key = :OpsWorksServiceRole) ⇒ Object



3
4
5
# File 'lib/stackit/mixin/opsworks.rb', line 3

def opsworks_service_role_arn(key = :OpsWorksServiceRole)
  "arn:aws:iam::#{Stackit.aws.}:role/#{resolve_parameter(key)}"
end