I hereby claim:
- I am tomasaschan on github.
- I am tlycken (https://keybase.io/tlycken) on keybase.
- I have a public key whose fingerprint is D801 A484 96E4 0E26 CBCB 9C47 4D61 9C56 C46D A571
To claim this, I am signing this object:
2019/08/13 18:23:18 Server started | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xc0000005 code=0x0 addr=0x58 pc=0x8d6493] | |
goroutine 37 [running]: | |
github.com/hashicorp/terraform/lang.(*Scope).evalContext(0xc000406140, 0xc00043e140, 0x1, 0x1, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0) | |
/home/travis/gopath/pkg/mod/github.com/hashicorp/[email protected]/lang/eval.go:184 +0x123 | |
github.com/hashicorp/terraform/lang.(*Scope).EvalContext(0xc000406140, 0xc00043e140, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0) | |
/home/travis/gopath/pkg/mod/github.com/hashicorp/[email protected]/lang/eval.go:160 +0x66 | |
github.com/hashicorp/terraform/lang.(*Scope).EvalExpr(0xc000406140, 0x11bd3c0, 0xc0003edb60, 0x11be080, 0x1948390, 0xeef5a0, 0xc000400400, 0xff32e6, 0x8, 0xc0003f0e70, ...) |
I hereby claim:
To claim this, I am signing this object:
name: aoc | |
version: 2018.12.0.0 | |
github: "tomasaschan/advent-of-code-2018" | |
license: BSD3 | |
author: "Tomas Aschan" | |
maintainer: "[email protected]" | |
copyright: "2018 Tomas Aschan" | |
extra-source-files: | |
- README.md |
> terraform state list | |
2018/12/19 09:49:35 [INFO] Terraform version: 0.11.9 4e44b41c8bc1b533d14f9939690adf09e3d2a2be | |
2018/12/19 09:49:35 [INFO] Go runtime version: go1.11.1 | |
2018/12/19 09:49:35 [INFO] CLI args: []string{"C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform.exe", "state", "list"} | |
2018/12/19 09:49:35 [DEBUG] Attempting to open CLI config file: C:\Users\tomas\AppData\Roaming\terraform.rc | |
2018/12/19 09:49:35 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/12/19 09:49:35 [INFO] CLI command args: []string{"state", "list"} | |
2018/12/19 09:49:35 [DEBUG] command: loading backend config file: C:\Work\OSS\Throwaway repros\terraform-state-rm-with-modules | |
2018/12/19 09:49:35 [WARN] BackendOpts.Config not set, but config found | |
2018/12/19 09:49:35 [INFO] command: empty terraform config, returning nil |
provider "azurerm" {} | |
resource "azurerm_resource_group" "rg" { | |
name = "rg_foo" | |
location = "West Europe" | |
} | |
data "azurerm_builtin_role_definition" "owner" { | |
name = "Owner" | |
} |
#!/bin/bash | |
set -e | |
resourceGroupDefault='<set your default here, to avoid having to specify in the common case>' | |
resourceGroup=${RESOURCE_GROUP:-$resourceGroupDefault} | |
clusterNameDefault='<set your default here>' | |
clusterName=${CLUSTER_NAME:-$clusterNameDefault} | |
regionDefault='<set your default here>' | |
region=${REGION:-$regionDefault} |
require('top-level-await') | |
require('./refresh-auth-token') |
param( | |
$Folder = $OctopusParameters['Folder'], | |
$IncludePattern = $OctopusParameters['IncludePattern'], | |
$RetainCount = $OctopusParameters['RetainCount'] | |
) | |
Write-Host "Applying retention policy..." | |
Get-ChildItem "$Folder" -Filter "$IncludePattern" ` | |
| Sort-Object LastWriteTime -Descending ` |
function confirm() { | |
confirmed= | |
read -p "$1 (y/n): " choice | |
while [[ -z $confirmed ]]; do | |
case "$choice" in | |
y|Y) | |
confirmed=true | |
;; | |
n|N) | |
confirmed=false |
param( | |
$resourceGroup = 'sandbox-<firstname>.<lastname>', | |
$clusterName = '<firstname>-<lastname>-cluster', | |
$registryName = '<firstname><lastname>', | |
$privateKeyName = '<firstname>.<lastname>-secret', | |
$email = '[email protected]' | |
) | |
Write-Host "Provisioning resources..." | |
az configure --defaults group=$resourceGroup |