Skip to content

Instantly share code, notes, and snippets.

View jbruett's full-sized avatar

John Bruett jbruett

  • Pennsylvania
View GitHub Profile
@jbruett
jbruett / tf12_provider_issue
Created February 17, 2020 15:20
TF v0.12.20 not importing provider
$ tf12 init
2020/02/17 15:19:11 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/02/17 15:19:11 [INFO] Terraform version: 0.12.20
2020/02/17 15:19:11 [INFO] Go runtime version: go1.12.13
2020/02/17 15:19:11 [INFO] CLI args: []string{"/usr/local/bin/terraform12", "init"}
2020/02/17 15:19:11 [DEBUG] Attempting to open CLI config file: /home/ec2-user/.terraformrc
2020/02/17 15:19:11 Loading CLI configuration from /home/ec2-user/.terraformrc
2020/02/17 15:19:11 [INFO] CLI command args: []string{"init"}
@jbruett
jbruett / AwsRegionDynamicParameterPowershell.json
Created April 5, 2018 01:50
vscode snippet for a dynamic parameter of aws regions
"AWS_Region_Dynamic_Param": {
"prefix": "aws_region",
"body": [
"DynamicParam {",
"\t$ParamDictionary = New-Object System.Management.Automation.RuntimeDefinedParameterDictionary",
"\t$CR_ParamName = 'Region'",
"\t$CR_AttributeCollection = New-Object System.Collections.ObjectModel.Collection[System.Attribute]",
"\t$CR_Attribute = New-Object System.Management.Automation.ParameterAttribute",
"\t$CR_Attribute.HelpMessage = 'List all the regions to be included in the document'",
"\t$CR_Attribute.Mandatory = $true",
Verifying that +johnbruett is my blockchain ID. https://onename.com/johnbruett