diff --git a/plugins/modules/gcp_container_cluster.py b/plugins/modules/gcp_container_cluster.py index 593a905..5d600c8 100644 --- a/plugins/modules/gcp_container_cluster.py +++ b/plugins/modules/gcp_container_cluster.py @@ -1291,7 +1291,7 @@ class Kubectl(object): def _contents(self): token = self._auth_token() - endpoint = "https://{}".format(self.fetch["endpoint"]) + endpoint = "https://%s" % self.fetch["endpoint"] context = self.module.params.get('kubectl_context') if not context: context = self.module.params['name']