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
{ | |
"definitions": {}, | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "https://example.com/object1610484731.json", | |
"title": "root", | |
"type": "object", | |
"required": [ | |
"teams" | |
], | |
"properties": { |
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
{ | |
"teams":[ | |
{ | |
"displayName": "Public team1", | |
"visibility": "Public", | |
"users": [ | |
{ | |
"email":"User1@domain.com", | |
"role":"Owner" | |
}, |
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
Param( | |
[Parameter(Position=0)] | |
[string]$Office365Username, | |
[Parameter(Position=1)] | |
[string]$Office365Password, | |
[Parameter(Position=2)] | |
[string]$TeamsFilePath | |
) | |
Write-Verbose "Importing modules" |
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
- script: | | |
terraform plan -out tf.tfplan | |
displayName: Generate Terraform plan | |
- script: | | |
terraform show -no-color tf.tfplan > $(Agent.TempDirectory)/tf.txt | |
displayName: Convert Terraform plan to text | |
- bash: | | |
cd $(Agent.TempDirectory) |
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
PAT="" | |
ORG_NAME="ivanporta" | |
PROJECT_NAME="Sample" | |
DEFAULT_JSON='{ | |
"pipeline": { | |
"environments": [ | |
{ | |
"name": "Connectivity", | |
"description": "Connectivity production environment", | |
"security_groups_name": [ |
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
PAT="" | |
ORG_NAME="ivanporta" | |
PROJECT_NAME="Sample" | |
DEFAULT_JSON='{ | |
"pipeline": { | |
"service_endpoints": [ | |
{ | |
"azurerm": [ | |
{ | |
"name": "Azure", |
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
PAT="" | |
ORG_NAME="ivanporta" | |
PROJECT_NAME="Sample" | |
DEFAULT_JSON='{ | |
"agent_pools": | |
[ | |
{ | |
"self_hosted":[ | |
{ | |
"name": "Default", |
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
PAT="" | |
ORG_NAME="ivanporta" | |
PROJECT_NAME="Sample" | |
DEFAULT_JSON='{ | |
"organization": { | |
"name": "portaivan", | |
"azure_active_directory": { | |
"tenant_id": "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | |
} | |
} |
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
PAT="" | |
ORG_NAME="" | |
DEFAULT_JSON={ | |
"organization": { | |
"policies": { | |
"disallow_third_party_application_access_via_oauth": false, | |
"disallow_ssh_authentication": false, | |
"log_audit_events": true, | |
"allow_public_projects": true, | |
"additional_protections_public_package_registries": true, |
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
PAT="" | |
ORG_NAME="" | |
DEFAULT_JSON='{ | |
"organization": { | |
"settings": { | |
"disable_anonymous_access_badges": true, | |
"limit_variables_set_queue_time": false, | |
"limit_job_authorization_current_project_non_release_pipelines": false, | |
"limit_job_authorization_current_project_release_pipelines": false, | |
"protect_access_repositories_yaml_pipelines": false, |
OlderNewer