ambitious-father-68746
06/24/2020, 3:55 PMgray-city-50684
06/24/2020, 5:31 PMfamous-kite-69533
06/24/2020, 8:15 PMcontroller.metrics.serviceMonitor.additionalLabels
to one label in particular, but I don't know in which format. If I try just setting that property to an object with the label as a property, pulumi fails because the manifest is not in the expected format or something like that. If I set is as a string, like "{ release: 'prometheus-operator' }"
it errors with error converting YAML to JSON: yaml: line 12: could not find expected ':'
. You can see how additionalLabels
is used in the service monitor template at https://github.com/helm/charts/blob/master/stable/nginx-ingress/templates/controller-servicemonitor.yaml. Any idea of how to get it working? Thanks!wet-egg-6347
06/24/2020, 10:14 PMpanic: fatal: An assertion has failed: Expected diff to not require deletion or replacement during Update of urn:pulumi:production::bos::aws:msk/cluster:Cluster::kafka
goroutine 30 [running]:
<http://github.com/pulumi/pulumi/sdk/v2/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v2/go/common/util/contract.failfast(...)>
/home/travis/gopath/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.1.1-0.20200508232528-aa313aecf8a0/go/common/util/contract/failfast.go:23
<http://github.com/pulumi/pulumi/sdk/v2/go/common/util/contract.Assertf(0xc0008d3200|github.com/pulumi/pulumi/sdk/v2/go/common/util/contract.Assertf(0xc0008d3200>, 0x69d26e0, 0x48, 0xc00066f728, 0x1, 0x1)
/home/travis/gopath/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.1.1-0.20200508232528-aa313aecf8a0/go/common/util/contract/assert.go:33 +0x197
<http://github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfbridge.(*Provider).Update(0xc000501680|github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfbridge.(*Provider).Update(0xc000501680>, 0x73307c0, 0xc000fbd200, 0xc000212000, 0xc000501680, 0x5d1e201, 0xc000282440)
/home/travis/gopath/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v2@v2.3.1/pkg/tfbridge/provider.go:825 +0x81d
<http://github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler.func1(0x73307c0|github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler.func1(0x73307c0>, 0xc000fbd200, 0x67272a0, 0xc000212000, 0x671dca0, 0xaec2240, 0x73307c0, 0xc000fbd200)
/home/travis/gopath/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.1.1-0.20200508232528-aa313aecf8a0/proto/go/provider.pb.go:1920 +0x89
<http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x73307c0|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x73307c0>, 0xc000fbc1e0, 0x67272a0, 0xc000212000, 0xc000ef8240, 0xc000ef8260, 0x0, 0x0, 0x72785e0, 0xc0003eb220)
/home/travis/gopath/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x2f9
<http://github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler(0x67d2d80|github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler(0x67d2d80>, 0xc000501680, 0x73307c0, 0xc000fbc1e0, 0xc0004641e0, 0xc000858060, 0x73307c0, 0xc000fbc1e0, 0xc000c7ca80, 0x952)
/home/travis/gopath/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.1.1-0.20200508232528-aa313aecf8a0/proto/go/provider.pb.go:1922 +0x14b
<http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc0002d56c0|google.golang.org/grpc.(*Server).processUnaryRPC(0xc0002d56c0>, 0x7355b00, 0xc000501b00, 0xc000214300, 0xc00090d860, 0xae94738, 0x0, 0x0, 0x0)
/home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.28.0/server.go:1082 +0x4fd
<http://google.golang.org/grpc.(*Server).handleStream(0xc0002d56c0|google.golang.org/grpc.(*Server).handleStream(0xc0002d56c0>, 0x7355b00, 0xc000501b00, 0xc000214300, 0x0)
/home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.28.0/server.go:1405 +0xd23
<http://google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0008dd100|google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0008dd100>, 0xc0002d56c0, 0x7355b00, 0xc000501b00, 0xc000214300)
/home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.28.0/server.go:746 +0xbb
created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1>
/home/travis/gopath/pkg/mod/google.golang.org/grpc@v1.28.0/server.go:744 +0xa1
error: update failed
any clue what might be happening?kind-mechanic-53546
06/24/2020, 10:56 PMOutput<string>
is to apply
it?modern-fish-59364
06/24/2020, 11:26 PMlittle-cartoon-10569
06/24/2020, 11:27 PMapply
the entire stack?many-jordan-46874
06/25/2020, 12:19 AMupdating urn:pulumi:dev::infra::awsx:x:ecs:FargateService$aws:ecs/service:Service::backend: timeout while waiting for state to become 'true' (last state: 'false', timeout: 10m0s)
All other steps run just fine, and ultimately the service does finish deploying in AWS and end up on the right state.best-lifeguard-91445
06/25/2020, 12:21 AMcold-iron-6673
06/25/2020, 12:07 PMcold-iron-6673
06/25/2020, 12:10 PMcold-iron-6673
06/25/2020, 12:11 PMsparse-intern-71089
06/25/2020, 2:12 PMbest-lifeguard-91445
06/25/2020, 3:10 PMconst loadbalancer_sg = new awsx.ec2.SecurityGroup(`lb-${region}-${environment}-${service.name}-sg`, {
vpc: vpc,
ingress: [],
egress: [],
})
listener = new awsx.elasticloadbalancingv2.ApplicationLoadBalancer(`lb-${region}-${environment}-${service.name}`, {
name: `lb-use1-${environment}-${service.name}`,
vpc: vpc,
subnets: vpc.getSubnetsIds('public'),
external: true,
securityGroups: [loadbalancer_sg.id]
})
cool-egg-852
06/25/2020, 3:23 PMwhite-rainbow-68240
06/25/2020, 3:36 PMwhite-rainbow-68240
06/25/2020, 3:38 PMwhite-rainbow-68240
06/25/2020, 3:39 PMbest-lifeguard-91445
06/25/2020, 5:06 PMsticky-kitchen-61063
06/25/2020, 7:43 PMprivateSubnets
or publicSubnets
.little-cartoon-10569
06/25/2020, 11:33 PMfast-ice-1848
06/26/2020, 5:46 AMaloof-laptop-31826
06/26/2020, 12:27 PMwhite-rainbow-68240
06/26/2020, 12:54 PMinfra
, but can't find a way to tell pulumi to use that subfolder. I can set a default working-directory for run commands, but not for uses
. Any tips?agreeable-alligator-68718
06/26/2020, 1:47 PMredis_url = redis.cache_nodes.apply(lambda cache_nodes: cache_nodes[0].get('address'))
def generate_container_definition(log_group_name):
return json.dumps([{
'name': 'api',
'image': 'api/api:latest',
'portMappings': [{
'containerPort': 80,
'hostPort': 80,
'protocol': 'tcp'
}],
'logConfiguration': {
'logDriver': 'awslogs',
'options': {
'awslogs-group': log_group_name,
'awslogs-region': aws.get_region().name,
}
},
'environment' : [
{ 'name' : 'ENV', 'value' : config.get('ENV') },
{ 'name' : 'REDIS_URL', 'value' : redis_url }
]
}])
agreeable-alligator-68718
06/26/2020, 1:47 PMagreeable-alligator-68718
06/26/2020, 1:47 PMbroad-dentist-41670
06/26/2020, 2:06 PMaloof-laptop-31826
06/26/2020, 2:07 PMbumpy-agent-19616
06/26/2020, 3:06 PM