https://pulumi.com logo
Join the conversationJoin Slack
Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-cdk
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumi-service
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by Linen
python
  • l

    little-river-49422

    02/24/2019, 5:11 PM
    and lots with 0xxx
  • l

    little-river-49422

    02/24/2019, 5:11 PM
    and i didnt even notice they have 0 in front
  • w

    white-balloon-205

    02/24/2019, 5:11 PM
    I think anything with
    420
    (without a leading 0) is almost certainly “wrong”.
  • l

    little-river-49422

    02/24/2019, 5:12 PM
    420 >> 644
  • l

    little-river-49422

    02/24/2019, 5:12 PM
    so its actually really misleading ;)))
    👍 1
  • l

    little-river-49422

    02/24/2019, 5:41 PM
    thanks folks!
  • l

    little-river-49422

    02/25/2019, 5:42 PM
    hey folks, are we getting any closer to crds for k8s?) we talked about this about 2 weeks ago, and the estimate was 2-3 weeks :). not pushing it, just asking :)
  • c

    creamy-potato-29402

    02/25/2019, 6:15 PM
    @little-river-49422 https://github.com/pulumi/pulumi-kubernetes/pull/327
  • c

    creamy-potato-29402

    02/25/2019, 6:16 PM
    We will need to approach this carefully. The tricky part is the auto-capitalization.
  • c

    creamy-potato-29402

    02/25/2019, 6:16 PM
    I’m not entirely sure, yet, how we should approach this problem.
  • c

    creamy-potato-29402

    02/25/2019, 6:16 PM
    Feedback welcome.
  • l

    little-river-49422

    02/25/2019, 6:45 PM
    unfortunately, I'm not much of a developer, I dont really understand how this code works, really 😞
  • c

    creamy-potato-29402

    02/25/2019, 6:45 PM
    I feel that way too sometimes. cc @gorgeous-egg-16927
  • l

    little-river-49422

    02/25/2019, 6:45 PM
    i can kinda follow what it does, but no idea how 😉
  • l

    little-river-49422

    02/25/2019, 6:46 PM
    go stuff is extremely confusing for me 😉
  • g

    gorgeous-egg-16927

    02/25/2019, 7:30 PM
    i haven’t had a chance to look at this feature yet. i’ll sync up with @creamy-potato-29402 to get a better idea on the effort involved to get it finished
  • l

    little-river-49422

    02/26/2019, 5:47 PM
    hey folks, can somebody take a look at my PR to examples repo? i think it was forgotten
    i
    • 2
    • 3
  • l

    lemon-wall-81522

    02/26/2019, 9:39 PM
    For infrastructure at AWS, what’s the right way to add an internet gateway to a route table? Looks like https://pulumi.io/reference/pkg/python/pulumi_aws/ec2/#pulumi_aws.ec2.Instance pulled in some Terraform-specific feature text about
    gateway_id
    which isn’t available.
  • l

    lemon-wall-81522

    02/26/2019, 9:40 PM
    On a lark I tried
    ig = 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
    i
    • 2
    • 10
  • l

    lemon-wall-81522

    02/26/2019, 11:39 PM
    Progressing from my earlier question, I’m running into an issue setting up a route table in an AWS VPC with this configuration:
    rt = 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
  • l

    lemon-wall-81522

    02/26/2019, 11:39 PM
    Okay, let’s (change case and) add it:
    rt = 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'
  • i

    incalculable-sundown-82514

    02/26/2019, 11:50 PM
    I think you need to put
    destination_cidr_block
    inside the dictionary containing
    gateway_id
    as well
  • i

    incalculable-sundown-82514

    02/26/2019, 11:50 PM
    since they’re conceptually part of the same object
  • l

    lemon-wall-81522

    02/27/2019, 12:04 AM
    rt=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
  • s

    stocky-spoon-28903

    02/27/2019, 2:14 AM
    Try:
  • s

    stocky-spoon-28903

    02/27/2019, 2:14 AM
    rt=ec2.RouteTable('new-rt', vpc_id=vpc.id, routes=[{'gateway_id': igw.id, 'cidr_block': '0.0.0.0/0'}])
    l
    • 2
    • 3
  • p

    proud-artist-4864

    02/27/2019, 3:00 AM
    How does opts.parent work with ComponentResources? It appears that if I create child resources, they don’t actually get processed by the engine, eg: class Network(ComponentResource): __init__(…): super().__init__(…) self.vpc = ec2.vpc(…)
    i
    • 2
    • 8
  • l

    little-river-49422

    03/02/2019, 12:41 PM
    hey, folks, I cant seem to get dependencies to work
  • l

    little-river-49422

    03/02/2019, 12:42 PM
    I think I've read somewhere pulumi should restard pods if they depend on something and that something changes, I dont observe that behaviour
    w
    c
    • 3
    • 29
  • l

    little-river-49422

    03/04/2019, 8:25 PM
    hey folks, got a weird issue by just bumping AKS node count from 2 to 3:
    pulumi: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
Powered by Linen
Title
l

little-river-49422

03/04/2019, 8:25 PM
hey folks, got a weird issue by just bumping AKS node count from 2 to 3:
pulumi: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
View count: 1