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

Root project parameters not configurable #87

Open
ccrockatt opened this issue Jun 5, 2020 · 1 comment
Open

Root project parameters not configurable #87

ccrockatt opened this issue Jun 5, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@ccrockatt
Copy link

Hello,

We need to be able to configure root project parameters since some parameters are universal and should not be set on every project. Currently we cannot add parameters to the root project using the provider.

We have found that using a teamcity_project resource and crafting it properly (setting the name and description as they currently exist in TeamCity) allows the root project to be updated after importing the root project state. This doesn't allow users of the provider to use terraform without special steps (importing the root project state) and so should be avoided. We can think of two approaches to implement this feature:

  1. Create a special resource type teamcity_root_project similar to how there is a default_vpc type for AWS which is different from the normal aws_vpc resource type. This would only have the arguments available that can be updated for the root project which is a subset of the arguments for other projects.
    2 . Create a resource project_parameters that would allow parameters to be set for any project including the root project. The downside to this is that understanding what the expected outcome should be is difficult when using both a teamcity_project resource and a project_parameters resource. Also if people do not pay attention and look for both resource types they will form an incomplete picture of what should be created.

What would you prefer (including any other options that you can think of).

Please let us know as we aim to implement this feature soon (via the eli-guidewire forks).

Thanks

@justinto-guidewire
Copy link
Contributor

@cvbarros, we decided to add a new resource teamcity_root_project, please see related PR: #88

@cvbarros cvbarros added the enhancement New feature or request label Jun 11, 2020
@cvbarros cvbarros added this to the 1.2 milestone Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants