def get_state(self):
data = {<EOL>'<STR_LIT>': self.state.instance_name,<EOL>'<STR_LIT>': self.state.ip_address,<EOL>'<STR_LIT>': self.state.distro,<EOL>'<STR_LIT>': self.state.region,<EOL>}<EOL>return data<EOL>
Get the state that's needed to reconnect to the instance