diff --git a/lib/ansible/module_utils/cloudstack.py b/lib/ansible/module_utils/cloudstack.py index c27116c384a..af385ee3002 100644 --- a/lib/ansible/module_utils/cloudstack.py +++ b/lib/ansible/module_utils/cloudstack.py @@ -112,7 +112,7 @@ class AnsibleCloudStack(object): def _connect(self): api_key = self.module.params.get('api_key') - api_secret = self.module.params.get('secret_key') + api_secret = self.module.params.get('api_secret') api_url = self.module.params.get('api_url') api_http_method = self.module.params.get('api_http_method') api_timeout = self.module.params.get('api_timeout')