-
Notifications
You must be signed in to change notification settings - Fork 285
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
feat: add attribute queue_status to resource azuredevops_build_definition #916
feat: add attribute queue_status to resource azuredevops_build_definition #916
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jan-mrm AccTest failed, you need add queue_status
to the data source too.
=== CONT TestAccBuildDefinition_with_path_DataSource
panic: Invalid address to set: []string{"queue_status"}
goroutine 1511 [running]:
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).Set(0xc000ac6e80, {0x12aa477, 0xc}, {0x10ee840, 0xc00028f730})
D:/workspace/GolandProjects/terraform-provider-azuredevops/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource_data.go:230 +0x2b5
github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/service/build.flattenBuildDefinition(0xc00044fb80?, 0xc000a8f8c0, {0xc000d163c0, 0x24})
D:/workspace/GolandProjects/terraform-provider-azuredevops/azuredevops/internal/service/build/resource_build_definition.go:541 +0x425
@xuzhang3 thanks, I added it. I didn't notice that the same flatten function was used in the data source as well. |
|
do you have an estimation when the next release will be published? 🙂 |
@jan-mrm New version will be available in the early Dec |
All Submissions:
What about the current behavior has changed?
added
queue_status
as new attribute in resourceazuredevops_build_definition
to enable the use to configure the setting of the pipeline. Prior the pipeline was alwaysenabled
. With this PRenabled
is the default and additionalpaused
anddisabled
are allowed to be set too.Issue Number: #915
closes #915
Does this introduce a change to
go.mod
,go.sum
orvendor/
?Does this introduce a breaking change?
Any relevant logs, error output, etc?
(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)
Other information