terraform-provider-octopusdeploy icon indicating copy to clipboard operation
terraform-provider-octopusdeploy copied to clipboard

Provider is not CaC aware.

Open stevencl840 opened this issue 1 year ago • 1 comments
trafficstars

Describe the bug It is possible to use the Octopus Deploy Terraform Provider to modify a Project stored in Git, but this results in an inconsistent project state.

Steps to reproduce

  1. Create a new Project via Terraform
  2. Convert the project to be Version Controlled
  3. Use Terraform to create a new variable for the project
  4. Check the database and see that the variable has been added to the database/

Expected behavior I would expect the provider to reject any request to update a project that is stored in version control.

Logs and other supporting information

Screenshots

Environment and versions:

  • OS: Windows
  • Octopus Server Version: 2024.3.7062
  • Terraform Version: v1.9.2
  • Octopus Terraform Provider Version: 0.22.1

Additional context Add any other context about the problem here.

stevencl840 avatar Jul 23 '24 01:07 stevencl840