File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ resource "azuredevops_build_definition" "this" {
3232 project_id = azuredevops_project. this . id
3333 name = " Default"
3434
35+ # Let YAML in the repo control the pipeline (triggers, steps, etc.)
3536 ci_trigger {
36- use_yaml = var . use_yaml
37+ use_yaml = true
3738 }
3839
39-
4040 repository {
4141 repo_type = " GitHub"
4242 repo_id = " devsecblueprint/azure-python-fastapi"
Original file line number Diff line number Diff line change @@ -42,12 +42,4 @@ variable "uaid_name" {
4242 description = " name of the Azure Kubernetes Service"
4343 default = " DevSecOps-User-Assigned-Identity"
4444
45- }
46-
47- # ## Azure DevOps Variables ###
48-
49- variable "use_yaml" {
50- description = " Bolean to determine if the pipeline should use the trigger defined in the yaml file or not"
51- type = bool
52- default = false
5345}
You can’t perform that action at this time.
0 commit comments