- name: "Destroy cluster via terraform" community.general.terraform: project_path: '{{ project_terraform }}' state: absent environment: SCW_ACCESS_KEY: "{{ scw_access_key }}" SCW_SECRET_KEY: "{{ scw_secret_key }}" register: output - name: Remove directory file: path: '{{ project_terraform }}' state: absent