Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mohamed-haidara-cko opened this issue Aug 23, 2024 · 0 comments
Labels
category/dev-experience Issues about the dev experience of using the provider, writing correct HCL etc kind/bug Something isn't working

Comments

@mohamed-haidara-cko
Copy link

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

@mjhilton mjhilton added kind/bug Something isn't working category/dev-experience Issues about the dev experience of using the provider, writing correct HCL etc labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category/dev-experience Issues about the dev experience of using the provider, writing correct HCL etc kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants