We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 340c4f0 commit 7ac9802Copy full SHA for 7ac9802
1 file changed
VM/ec2_handler.py
@@ -3,9 +3,7 @@
3
import logging
4
import os
5
6
-from common import common_functions
7
-
8
-LOG_FILE_NAME = 'output.log'
+LOG_FILE_NAME = 'ec2-output.log'
9
10
class EC2ResourceHandler:
11
"""EC2 Resource handler."""
@@ -126,13 +124,6 @@ def delete(self, instance_id):
126
124
127
125
def main():
128
129
- available_cloud_setup = common_functions.get_cloud_setup()
130
- if 'aws' not in available_cloud_setup:
131
- print("Cloud setup not found for aws.")
132
- print("Doing the setup now..")
133
- os.system("pip install awscli")
134
- os.system("aws configure")
135
136
ec2_handler = EC2ResourceHandler()
137
138
print("Spinning up EC2 instance")
0 commit comments