Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

The octopusdeploy_projects datasource filter applies a partial logic despite the name argument is used #767

@mohamed-haidara-cko

Description

@mohamed-haidara-cko

Describe the bug

The octopusdeploy_projects datasource filter applies a partial logic despite the name argument is used. This is exactly the same issue as #713 but with octopusdeploy_projects

Steps to reproduce

  1. Create a project named Authorization in a random space
  2. Create a project named Authorization simulator in the same space where you create Thor
  3. Attempt to retrieve the Authorization project using the octopusdeploy_projects data source with the name argument
    set to Authorization.
  4. You will get all the created projects in the space with Authorization in their. name, not just the one you are looking for (Authorization)

Expected behavior

I should only get the Authorization project.

Logs and other supporting information

Not needed

Screenshots

Not needed

Environment and versions:

  • OS: Windows
  • Octopus Server Version: 2024.1.12401
  • Terraform Version: v1.9.3
  • Octopus Terraform Provider Version: v0.30.0-beta8

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    category/apiIssues related to API issues.category/dev-experienceIssues about the dev experience of using the provider, writing correct HCL etckind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions