Skip to content

Commit 1690ec9

Browse files
committed
updating tf files
1 parent 5c6abc6 commit 1690ec9

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

terraform/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

terraform/variables.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)