Class: Conjur::Provisioner::AWS::DeleteRole
- Inherits:
-
Object
- Object
- Conjur::Provisioner::AWS::DeleteRole
- Includes:
- BucketHelper, RoleHelper
- Defined in:
- lib/conjur/provisioner/aws.rb
Instance Attribute Summary collapse
-
#host_factory ⇒ Object
Returns the value of attribute host_factory.
Attributes included from BucketHelper
Instance Method Summary collapse
Instance Attribute Details
#host_factory ⇒ Object
Returns the value of attribute host_factory.
39 40 41 |
# File 'lib/conjur/provisioner/aws.rb', line 39 def host_factory @host_factory end |
Instance Method Details
#perform ⇒ Object
55 56 57 58 |
# File 'lib/conjur/provisioner/aws.rb', line 55 def perform delete_role delete_s3_token_file end |
#role_name ⇒ Object
41 42 43 |
# File 'lib/conjur/provisioner/aws.rb', line 41 def role_name host_factory.id.parameterize end |
#token_file_name ⇒ Object
45 46 47 |
# File 'lib/conjur/provisioner/aws.rb', line 45 def token_file_name host_factory.id.parameterize end |
#validate ⇒ Object
49 50 51 52 53 |
# File 'lib/conjur/provisioner/aws.rb', line 49 def validate super raise "host_factory is missing" unless host_factory end |