-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Houssem Dellai
committed
Oct 28, 2023
1 parent
8ab275c
commit e6db31b
Showing
3 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Create PAT token in Azure DevOps | ||
# Replace it in providers.tf file | ||
|
||
terraform init | ||
|
||
terraform plan -out tfplan | ||
|
||
terraform apply tfplan | ||
|
||
terraform destroy |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
terraform { | ||
required_providers { | ||
azuredevops = { | ||
source = "microsoft/azuredevops" | ||
source = "microsoft/azuredevops" | ||
version = "0.10.0" | ||
} | ||
} | ||
} | ||
|
||
provider "azuredevops" { | ||
# Configuration options | ||
org_service_url = "https://dev.azure.com/houssemdellai" | ||
personal_access_token = "qkfon5cdldekin4qnkgfr2nf367h6yjnndm5upwqepd5rekl4l5a" | ||
org_service_url = "https://dev.azure.com/houssemdellai" | ||
personal_access_token = "qkfon5cdldekin4qnkgfr2nf367h6yjnndm5upwqepd5rekl4l5a" | ||
} | ||
|
||
# export AZDO_PERSONAL_ACCESS_TOKEN=<Personal Access Token> | ||
# export AZDO_ORG_SERVICE_URL=https://dev.azure.com/<Your Org Name> | ||
# export AZDO_ORG_SERVICE_URL=https://dev.azure.com/<Your Org Name> |