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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace hackertrail | |
{ | |
public class Helper | |
{ | |
public static IEnumerable<IEnumerable<T>> GetPermutations<T>(IEnumerable<T> items, int count) | |
{ |
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
- provider: Webhook | |
url: [your stride room url] | |
method: POST | |
headers: | |
Authorization: Bearer [token for room] | |
content_type: application/json | |
body: >- | |
{ | |
"version":1, | |
"type":"doc", |
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
2018-10-18T10:05:57.578+0800 [DEBUG] plugin.terraform-provider-azurerm_v1.16.0_x4.exe: 0 | |
2018-10-18T10:05:57.578+0800 [DEBUG] plugin.terraform-provider-azurerm_v1.16.0_x4.exe: | |
2018-10-18T10:05:57.578+0800 [DEBUG] plugin.terraform-provider-azurerm_v1.16.0_x4.exe: | |
2018-10-18T10:05:57.578+0800 [DEBUG] plugin.terraform-provider-azurerm_v1.16.0_x4.exe: 2018/10/18 10:05:57 [DEBUG] Skipping provider registration for namespace Microsoft.Automation | |
2018/10/18 10:05:57 [TRACE] [walkPlan] Exiting eval tree: provider.azurerm | |
2018/10/18 10:05:57 [TRACE] dag/walk: walking "data.azurerm_client_config.current" | |
2018/10/18 10:05:57 [TRACE] vertex 'root.data.azurerm_client_config.current': walking | |
2018/10/18 10:05:57 [TRACE] vertex 'root.data.azurerm_client_config.current': evaluating | |
2018/10/18 10:05:57 [TRACE] [walkPlan] Entering eval tree: data.azurerm_client_config.current | |
2018/10/18 10:05:57 [TRACE] root: eval: *terraform.EvalSequence |
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
data "azurerm_client_config" "current" {} | |
output "account_id" { | |
value = "${data.azurerm_client_config.current.client_id}" | |
} | |
output "tenant_id" { | |
value = "${data.azurerm_client_config.current.tenant_id}" | |
} |
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
1 error(s) occurred: | |
* module.aks.azurerm_kubernetes_cluster.aks: 1 error(s) occurred: | |
* azurerm_kubernetes_cluster.aks: Error creating/updating Managed Kubernetes Cluster "aks" (Resource Group "dev"): containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="LinkedInvalidPropertyId" Message="Property id '8305d9a1-fdf9-4fe1-a51e-243355d4e68d' at path 'properties.addonProfiles.omsagent.config.logAnalyticsWorkspaceResourceID' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'." |
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
resource "azurerm_resource_group" "test" { | |
name = "acctestRG1" | |
location = "East US" | |
} | |
resource "azurerm_log_analytics_workspace" "test" { | |
name = "acctest-01" | |
location = "${azurerm_resource_group.test.location}" | |
resource_group_name = "${azurerm_resource_group.test.name}" | |
sku = "PerGB2018" |
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
root: | |
abc: | |
en: '' |