Make agent_pool_id
optional in resource azuredevops_agent_queue
#906
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All Submissions:
What about the current behavior has changed?
Adds the attribute
name
toazuredevops_agent_queue
, and make it mutually exclusive with theagent_pool_id
attribute.The API does not require a Pool ID to be specified when creating an Agent Queue, alternatively only a name needs to be specified.
In this scenario, the pool gets automatically created without explicitly requesting it. This is useful for creating agent pools at the project-level without needing org-level permissions to create pools.
Issue Number: #456
Does this introduce a change to
go.mod
,go.sum
orvendor/
?Does this introduce a breaking change?
Other information
This is my first attempt at a PR for a terraform module and I'm pretty new at Go, so please let me know if I should have done anything differently!