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

build-config/project: updating the `name` field / making `step` Optional & Computed

Open tombuildsstuff opened this issue 4 years ago • 0 comments

This PR makes three changes:

  • Build Configuration: support for updating the Name
  • Build Configuration: making the step block Computed
  • Project: support for updating the Name

When creating a Build Configuration based on a Template, once the build has first been created - Terraform shows a diff because the Build Steps are missing from the configuration but returned from the API.

As such this commit makes this block Optional & Computed so that this diff can be omitted if a user hasn't specified any step blocks to override this in the config (e.g. wants to /only/ use steps from the template).

Dependent on https://github.com/cvbarros/go-teamcity/pull/81 Dependent on https://github.com/cvbarros/go-teamcity/pull/82

tombuildsstuff avatar Apr 24 '20 11:04 tombuildsstuff