Skip to content

Instantly share code, notes, and snippets.

View chfrodin's full-sized avatar

C chfrodin

View GitHub Profile
panic: interface conversion: interface {} is nil, not map[string]interface {}
2019-05-15T09:05:30.131+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.27.1_x4:
2019-05-15T09:05:30.131+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.27.1_x4: goroutine 155 [running]:
2019-05-15T09:05:30.131+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.27.1_x4: github.com/terraform-providers/terraform-provider-azurerm/azurerm.expandFunctionAppConnectionStrings(0xc0003ff340, 0x2eb1400)
2019-05-15T09:05:30.131+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.27.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/azurerm/resource_arm_function_app.go:684 +0x3b9
2019-05-15T09:05:30.131+0200 [DEBUG] plugin.terraform-provider-azurerm_v1.27.1_x4: github.com/terraform-providers/terraform-provider-azurerm/azurerm.resourceArmFunctionAppUpdate(0xc0003ff340, 0x2ddbfa0, 0xc000788000, 0xc00065da20, 0x0)
2019-05-15T09:05:30.131+0200 [DEBUG] plugin.terraform-provider-azurerm
@chfrodin
chfrodin / storage account with string
Last active September 20, 2019 12:45
azurerm_storage_account
Error: Error updating Azure Storage Account `queue_properties` "chfrodintestsa": queues.Client#SetServiceProperties: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: error response cannot be parsed: "\ufeff<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>InvalidXmlDocument</Code><Message>XML specified is not syntactically valid.\nRequestId:554f5bce-c003-000d-79b0-6fb6c8000000\nTime:2019-09-20T12:37:28.9998582Z</Message><LineNumber>2</LineNumber><LinePosition>229</LinePosition><Reason>Unexpected value for Version.</Reason></Error>" error: invalid character 'ï' looking for beginning of value
on sandbox_storage.tf line 9, in resource "azurerm_storage_account" "sa":
9: resource "azurerm_storage_account" "sa" {
@chfrodin
chfrodin / storage account with number.txt
Last active September 20, 2019 12:45
storage account with number
Error: Error updating Azure Storage Account `queue_properties` "chfrodintestsa": queues.Client#SetServiceProperties: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: error response cannot be parsed: "\ufeff<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ResourceNotFound</Code><Message>The specified resource does not exist.\nRequestId:528241ef-f003-00eb-78b0-6fa738000000\nTime:2019-09-20T12:39:21.8448379Z</Message></Error>" error: invalid character 'ï' looking for beginning of value
on sandbox_storage.tf line 9, in resource "azurerm_storage_account" "sa":
9: resource "azurerm_storage_account" "sa" {
resource "vsphere_virtual_machine" "vm" {
name = var.vm_name
guest_id = var.guest_id
resource_pool_id = data.vsphere_compute_cluster.cluster.resource_pool_id
datastore_id = data.vsphere_datastore.datastore.id
tags = var.tags
folder = var.folder
host_system_id = var.host_system_id
storage_policy_id = var.storage_policy_id
#scsi_type = data.vsphere_virtual_machine.template.scsi_type
{
"Version": "2012-10-17",
"Statement": [
{
"Action": "sts:AssumeRole",
"Principal": {
"AWS": "arn:aws:iam::<accountID where assumable role is>:root"
},
"Effect": "Allow",
"Condition": {}