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
| 2022-03-08T15:22:54.5164641Z ##[section]Starting: Terraform Plan | |
| 2022-03-08T15:22:54.5302354Z ============================================================================== | |
| 2022-03-08T15:22:54.5302654Z Task : PowerShell | |
| 2022-03-08T15:22:54.5302896Z Description : Run a PowerShell script on Linux, macOS, or Windows | |
| 2022-03-08T15:22:54.5303130Z Version : 2.200.0 | |
| 2022-03-08T15:22:54.5303328Z Author : Microsoft Corporation | |
| 2022-03-08T15:22:54.5303620Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell | |
| 2022-03-08T15:22:54.5303950Z ============================================================================== | |
| 2022-03-08T15:22:55.6899346Z Generating script. | |
| 2022-03-08T15:22:55.7266860Z ========================== Starting Command Output =========================== |
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
| 2022-03-05T23:04:44.4424544Z [31m╷[0m[0m | |
| 2022-03-05T23:04:44.4425306Z [31m│[0m [0m[1m[31mError: [0m[0m[1mPlugin did not respond[0m | |
| 2022-03-05T23:04:44.4425842Z [31m│[0m [0m | |
| 2022-03-05T23:04:44.4426468Z [31m│[0m [0m[0m with provider["registry.terraform.io/hashicorp/azurerm"], | |
| 2022-03-05T23:04:44.4427358Z [31m│[0m [0m on version.tf line 16, in provider "azurerm": | |
| 2022-03-05T23:04:44.4428052Z [31m│[0m [0m 16: provider "azurerm" [4m{[0m[0m | |
| 2022-03-05T23:04:44.4428515Z [31m│[0m [0m | |
| 2022-03-05T23:04:44.4429106Z [31m│[0m [0mThe plugin encountered an error, and failed to respond to the | |
| 2022-03-05T23:04:44.4429824Z [31m│[0m [0mplugin.(*GRPCProvider).ValidateProviderConfig call. The plugin logs may | |
| 2022-03-05T23:04:44.4430514Z [31m│[0m [0mcontain more details. |
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
| $RG = "MyRG" | |
| $ConnectionName = "STS-Azure-HQ" | |
| $connection = Get-AzureRmVirtualNetworkGatewayConnection -Name $ConnectionName -ResourceGroupName $RG | |
| $ipsecpolicy = New-AzureRmIpsecPolicy -IkeEncryption AES256 -IkeIntegrity SHA256 -DhGroup DHGroup2 -IpsecEncryption AES256 -IpsecIntegrity SHA256 -PfsGroup PFS2 -SALifeTimeSeconds 3600 -SADataSizeKilobytes 2048 | |
| Set-AzureRmVirtualNetworkGatewayConnection -VirtualNetworkGatewayConnection $connection -UsePolicyBasedTrafficSelectors $True -IpsecPolicies $ipsecpolicy |
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
| # Adapted from Joe Corey's Active Directory Delegation via PowerShell at | |
| # https://blogs.technet.microsoft.com/joec/2013/04/25/active-directory-delegation-via-powershell/ | |
| Import-Module ActiveDirectory | |
| #Bring up an Active Directory command prompt so we can use this later on in the script | |
| cd ad: | |
| #Get a reference to the RootDSE of the current domain | |
| $rootdse = Get-ADRootDSE | |
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
| P:\Builds\01\_temp\1560929507668\packer\packer.exe build -force -color=false -var-file=P:\Builds\01\_temp\9vwzjp3j39efvhcf48d4bcsor.json -var-file=P:\Builds\01\_temp\6vd13ri8aphkkmxvxnb9t6s9k9.json P:\Builds\01\1\s\images\win\vs2017-Server2016-Azure-fixed.json | |
| ==> azure-arm: Running builder ... | |
| azure-arm: Creating Azure Resource Manager (ARM) client ... | |
| ==> azure-arm: Creating resource group ... | |
| ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-8s********' |