little-river-49422
02/24/2019, 5:11 PMlittle-river-49422
02/24/2019, 5:11 PMwhite-balloon-205
02/24/2019, 5:11 PM420
(without a leading 0) is almost certainly “wrong”.little-river-49422
02/24/2019, 5:12 PMlittle-river-49422
02/24/2019, 5:12 PMlittle-river-49422
02/24/2019, 5:41 PMlittle-river-49422
02/25/2019, 5:42 PMcreamy-potato-29402
02/25/2019, 6:15 PMcreamy-potato-29402
02/25/2019, 6:16 PMcreamy-potato-29402
02/25/2019, 6:16 PMcreamy-potato-29402
02/25/2019, 6:16 PMlittle-river-49422
02/25/2019, 6:45 PMcreamy-potato-29402
02/25/2019, 6:45 PMlittle-river-49422
02/25/2019, 6:45 PMlittle-river-49422
02/25/2019, 6:46 PMgorgeous-egg-16927
02/25/2019, 7:30 PMlittle-river-49422
02/26/2019, 5:47 PMlemon-wall-81522
02/26/2019, 9:39 PMgateway_id
which isn’t available.lemon-wall-81522
02/26/2019, 9:40 PMig = ec2.InternetGateway(resource_name = 'new-ig', vpc_id = vpc.id)
rt = ec2.RouteTable('new-rt', vpc_id = vpc.id, routes = [ig.id])
and
ig = ec2.InternetGateway(resource_name = 'new-ig', vpc_id = vpc.id)
rt = ec2.RouteTable('new-rt', vpc_id = vpc.id, routes = [ig])
Both returned
aws:ec2:RouteTable (new-rt):
error: aws:ec2/routeTable:RouteTable resource 'new-rt' has a problem: route.0: expected object, got string
lemon-wall-81522
02/26/2019, 11:39 PMrt = ec2.RouteTable('new-rt', vpc_id = vpc.id, routes = [{'gateway_id': igw.id}])
Got past preview, and created 7 of 10 resources. Then:
* creating urn:pulumi:dev::vpc-with-ec2::aws:ec2/routeTable:RouteTable::new-rt: MissingParameter: The request must contain the parameter destinationCidrBlock or destinationIpv6CidrBlock
lemon-wall-81522
02/26/2019, 11:39 PMrt = ec2.RouteTable('new-rt', vpc_id = vpc.id, routes = [{'gateway_id': igw.id}], destination_cidr_block = '0.0.0.0/0')
Now it doesn’t even preview:
rt = ec2.RouteTable('new-rt', vpc_id = vpc.id, routes = [{'gateway_id': igw.id}], destination_cidr_block = '0.0.0.0/0')
TypeError: __init__() got an unexpected keyword argument 'destination_cidr_block'
incalculable-sundown-82514
02/26/2019, 11:50 PMdestination_cidr_block
inside the dictionary containing gateway_id
as wellincalculable-sundown-82514
02/26/2019, 11:50 PMlemon-wall-81522
02/27/2019, 12:04 AMrt=ec2.RouteTable('new-rt', vpc_id=vpc.id, routes=[{'gateway_id': igw.id, 'destination_cidr_block': '0.0.0.0/0'}])
That wasn’t it. I’ll keep digging. Thanks. 🙂
aws:ec2:RouteTable (new-rt):
error: aws:ec2/routeTable:RouteTable resource 'new-rt' has a problem: route.0: invalid or unknown key: destination_cidr_block
error: an error occurred while advancing the preview
stocky-spoon-28903
02/27/2019, 2:14 AMstocky-spoon-28903
02/27/2019, 2:14 AMrt=ec2.RouteTable('new-rt', vpc_id=vpc.id, routes=[{'gateway_id': igw.id, 'cidr_block': '0.0.0.0/0'}])
proud-artist-4864
02/27/2019, 3:00 AMlittle-river-49422
03/02/2019, 12:41 PMlittle-river-49422
03/02/2019, 12:42 PMlittle-river-49422
03/04/2019, 8:25 PMpulumi:pulumi:Stack (aks-dv-ws-je-beta):
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 67 [running]:
<http://github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.expandKubernetesClusterAddonProfiles(0xc000d35ea0|github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.expandKubernetesClusterAddonProfiles(0xc000d35ea0>, 0xc000892600)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/resource_arm_kubernetes_cluster.go:752 +0x93f
<http://github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.resourceArmKubernetesClusterCreateUpdate(0xc000d35ea0|github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.resourceArmKubernetesClusterCreateUpdate(0xc000d35ea0>, 0x2730100, 0xc0005c4000, 0x24, 0x44bdf80)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/resource_arm_kubernetes_cluster.go:538 +0x41c
<http://github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc000170460|github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc000170460>, 0xc0000bfc70, 0xc000a045a0, 0x2730100, 0xc0005c4000, 0xc000a04501, 0x0, 0x0)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:231 +0x250
<http://github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc000021420|github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc000021420>, 0xc000f95820, 0xc0000bfc70, 0xc000a045a0, 0xc000a045a0, 0x0, 0x0)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:283 +0x9c
<http://github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge.(*Provider).Update(0xc000510e10|github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge.(*Provider).Update(0xc000510e10>, 0x2b1dfa0, 0xc0004085a0, 0xc0000bf360, 0xc000510e10, 0x1, 0x1)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge/provider.go:687 +0x776
<http://github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler.func1(0x2b1dfa0|github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler.func1(0x2b1dfa0>, 0xc0004085a0, 0x2678880, 0xc0000bf360, 0x2b1dfa0, 0xc0004085a0, 0x2b37140, 0x44bc570)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1265 +0x86
<http://github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x2b1dfa0|github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x2b1dfa0>, 0xc0004085a0, 0x2678880, 0xc0000bf360, 0xc000790720, 0xc000790740, 0x0, 0x0, 0x2b08f40, 0xc0002fcb70)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/server.go:57 +0x2b0
little-river-49422
03/04/2019, 8:25 PMpulumi:pulumi:Stack (aks-dv-ws-je-beta):
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 67 [running]:
<http://github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.expandKubernetesClusterAddonProfiles(0xc000d35ea0|github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.expandKubernetesClusterAddonProfiles(0xc000d35ea0>, 0xc000892600)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/resource_arm_kubernetes_cluster.go:752 +0x93f
<http://github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.resourceArmKubernetesClusterCreateUpdate(0xc000d35ea0|github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm.resourceArmKubernetesClusterCreateUpdate(0xc000d35ea0>, 0x2730100, 0xc0005c4000, 0x24, 0x44bdf80)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/terraform-providers/terraform-provider-azurerm/azurerm/resource_arm_kubernetes_cluster.go:538 +0x41c
<http://github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc000170460|github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc000170460>, 0xc0000bfc70, 0xc000a045a0, 0x2730100, 0xc0005c4000, 0xc000a04501, 0x0, 0x0)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:231 +0x250
<http://github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc000021420|github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc000021420>, 0xc000f95820, 0xc0000bfc70, 0xc000a045a0, 0xc000a045a0, 0x0, 0x0)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:283 +0x9c
<http://github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge.(*Provider).Update(0xc000510e10|github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge.(*Provider).Update(0xc000510e10>, 0x2b1dfa0, 0xc0004085a0, 0xc0000bf360, 0xc000510e10, 0x1, 0x1)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi-terraform/pkg/tfbridge/provider.go:687 +0x776
<http://github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler.func1(0x2b1dfa0|github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go._ResourceProvider_Update_Handler.func1(0x2b1dfa0>, 0xc0004085a0, 0x2678880, 0xc0000bf360, 0x2b1dfa0, 0xc0004085a0, 0x2b37140, 0x44bc570)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/sdk/proto/go/provider.pb.go:1265 +0x86
<http://github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x2b1dfa0|github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x2b1dfa0>, 0xc0004085a0, 0x2678880, 0xc0000bf360, 0xc000790720, 0xc000790740, 0x0, 0x0, 0x2b08f40, 0xc0002fcb70)
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc/server.go:57 +0x2b0