This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "azuredevops" { | |
version = ">= 0.0.1" | |
} | |
resource "azuredevops_project" "tf-example" { | |
project_name = "tf-example" | |
description = "Project deployed using Terraform" | |
version_control = "git" | |
visibility = "private" | |
work_item_template = "Agile" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# incomplete block - will not work | |
resource "azuredevops_project_features" "tf-example-features" { | |
features = { | |
"boards" = "enabled" | |
"repositories" = "enabled" | |
"pipelines" = "enabled" | |
"testplans" = "disabled" | |
"artifacts" = "enabled" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "azuredevops" { | |
version = ">= 0.0.1" | |
} | |
resource "azuredevops_project" "tf-example" { | |
project_name = "tf-example" | |
description = "Project deployed using Terraform" | |
version_control = "git" | |
visibility = "private" | |
work_item_template = "Agile" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "azuredevops" { | |
version = ">= 0.0.1" | |
} | |
resource "azuredevops_project" "tf-example" { | |
project_name = "tf-example" | |
description = "Project deployed using Terraform" | |
version_control = "git" | |
visibility = "private" | |
work_item_template = "Agile" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "azuredevops" { | |
version = ">= 0.0.1" | |
} | |
resource "azuredevops_project" "tf-example" { | |
project_name = "tf-example" | |
description = "Project deployed using Terraform" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"storageAccountType": { | |
"type": "string", | |
"defaultValue": "Standard_LRS", | |
"allowedValues": [ | |
"Standard_LRS", | |
"Standard_GRS", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"policyRule": { | |
"if": { | |
"allOf": [ | |
{ | |
"field": "location", | |
"notIn": [ "eastus", "eastus2", "westus", "westus2" ] | |
}, | |
{ | |
"field": "location", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"properties": { | |
"displayName": "Allowed locations", | |
"policyType": "BuiltIn", | |
"description": "This policy enables you to restrict the locations your organization can specify when deploying resources. Use to enforce your geo-compliance requirements. Excludes resource groups, Microsoft.AzureActiveDirectory/b2cDirectories, and resources that use the 'global' region.", | |
"mode": "Indexed", | |
"parameters": { | |
"listOfAllowedLocations": { | |
"type": "Array", | |
"metadata": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. | |
- task: Bash@3 | |
inputs: | |
targetType: 'inline' | |
script: | | |
cd $(System.ArtifactsDirectory) | |
unzip ./drop/liquibase-demo.zip -d liquibase-demo | |
cd ./liquibase-demo | |
java -jar ./lib/liquibase-core-3.3.0.jar --defaultsFile=./src/main/resources/liquibase.properties update | |
.. |