bright-magician-13023
02/15/2024, 3:56 PM* 1 error; 46 mess
├─ ths:services:Service ths-mlops-adminer
~ │ ├─ aws:vpc:SecurityGroupIngressRule ths-mlops-adminer-sg-alb updated (0.28s)
│ └─ ths:services:ServiceAlbAssets ths-mlops-adminer-ast
+ │ └─ aws:lb:Listener ths-mlops-adminer-ast-listener **creating failed** 1 error
├─ ths:services:Service ths-mlops-trk
~ │ ├─ aws:vpc:SecurityGroupIngressRule ths-mlops-trk-sg-alb updated (0.54s)
│ └─ ths:services:ServiceAlbAssets ths-mlops-trk-ast
+ │ └─ aws:lb:Listener ths-mlops-trk-ast-listener **creating failed** 1 error
├─ ths:services:Service ths-mlops-nb
│ ├─ ths:services:ServiceAlbAssets ths-mlops-nb-ast
+ │ │ └─ aws:lb:Listener ths-mlops-nb-ast-listener **creating failed** 1 error
~ │ └─ aws:vpc:SecurityGroupIngressRule ths-mlops-nb-sg-alb **updating failed** 1 error
~ └─ aws:vpc:SecurityGroupIngressRule ths-mlops-sql-sg-ingress **updating failed** 1 error
Diagnostics:
aws:lb:Listener (ths-mlops-trk-ast-listener):
error: error reading from server: EOF
aws:vpc:SecurityGroupIngressRule (ths-mlops-nb-sg-alb):
error: connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:42101: connect: connection refused"
pulumi:pulumi:Stack (ths_mlops-dev):
error: update failed
panic: value is null
goroutine 196 [running]:
<http://github.com/hashicorp/go-cty/cty.Value.LengthInt({{{0x12468508|github.com/hashicorp/go-cty/cty.Value.LengthInt({{{0x12468508>?, 0xc00446efa0?}}, {0x0?, 0x0?}})
/home/runner/go/pkg/mod/github.com/hashicorp/go-cty@v1.4.1-0.20200723130312-85980079f637/cty/value_ops.go:989 +0x24f
<http://github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.flattenLbForwardActionOneOf({{{0x12468508|github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.flattenLbForwardActionOneOf({{{0x12468508>?, 0xc00446eff0?}}, {0xde79e80?, 0xc00446acd8?}}, 0xd400000000000010?, {{0xc00461a680, 0x7}, 0x0, 0x0, 0x0, ...}, ...)
/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/service/elbv2/listener.go:1036 +0x1d0
<http://github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.flattenLbForwardAction(0xc004610b40|github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.flattenLbForwardAction(0xc004610b40>?, {0x10a76437, 0xe}, 0xc0045befd8?, {{0xc00461a680, 0x7}, 0x0, 0x0, 0x0, 0xc004613530, ...}, ...)
/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/service/elbv2/listener.go:1014 +0x22b
<http://github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.flattenLbListenerActions(0xdea6ca0|github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.flattenLbListenerActions(0xdea6ca0>?, {0x10a76437, 0xe}, {0xc004628550?, 0x1, 0x0?})
/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/service/elbv2/listener.go:979 +0x2c5
<http://github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.resourceListenerRead({0x12468188|github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.resourceListenerRead({0x12468188>, 0xc00458d410}, 0xc00447c580, {0x109dfdc0?, 0xc0003b9a40?})
/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/service/elbv2/listener.go:535 +0x5db
<http://github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.resourceListenerCreate({0x12468188|github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.resourceListenerCreate({0x12468188>?, 0xc00458d410}, 0xc00447c580, {0x109dfdc0?, 0xc0003b9a40})
/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/service/elbv2/listener.go:506 +0x11db
<http://github.com/hashicorp/terraform-provider-aws/internal/provider.New.(*wrappedResource).Create.interceptedHandler[...].func8(0x0|github.com/hashicorp/terraform-provider-aws/internal/provider.New.(*wrappedResource).Create.interceptedHandler[...].func8(0x0>?, {0x109dfdc0?, 0xc0003b9a40?})
/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/provider/intercept.go:112 +0x283
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x12468188|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x12468188>?, {0x12468188?, 0xc00447a8d0?}, 0xd?, {0x109dfdc0?, 0xc0003b9a40?})
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20240202163305-e2a20ae13ef9/helper/schema/resource.go:778 +0x7a
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc001f1fdc0|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc001f1fdc0>, {0x12468188, 0xc00447a8d0}, 0x0, 0xc00447c300, {0x109dfdc0, 0xc0003b9a40})
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20240202163305-e2a20ae13ef9/helper/schema/resource.go:914 +0xa89
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.Apply({0xc00068c6c0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.Apply({0xc00068c6c0>?, {0xc000ad95d0?, 0xc00447a8d0?, 0x10a80def?}}, {0x12468188, 0xc00447a8d0}, {0x10a80def, 0xf}, {0x0, 0x0}, ...)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.74.0/pkg/tfshim/sdk-v2/provider.go:122 +0x165
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.(*providerWithPlanResourceChangeDispatch).Apply(0xc001fef890|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.(*providerWithPlanResourceChangeDispatch).Apply(0xc001fef890>, {0x12468188, 0xc00447a8d0}, {0x10a80def, 0xf}, {0x0, 0x0}, {0x124791c0, 0xc00447c300})
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.74.0/pkg/tfshim/sdk-v2/provider2.go:700 +0xf3
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Create(0xc000e37980|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Create(0xc000e37980>, {0x12468188?, 0xc00447a420?}, 0xc00346b590)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.74.0/pkg/tfbridge/provider.go:1025 +0x89e
<http://github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Create.func1({0x124c7cb0|github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Create.func1({0x124c7cb0>?, 0xc000e37980?})
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.7/muxer.go:363 +0x30
<http://github.com/pulumi/pulumi-terraform-bridge/x/muxer.resourceMethod[...](0xc0028e3260|github.com/pulumi/pulumi-terraform-bridge/x/muxer.resourceMethod[...](0xc0028e3260>?, 0x40, 0xc0034736d0?)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.7/muxer.go:322 +0xb5
<http://github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Create(0x0|github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Create(0x0>?, {0x12468188?, 0xc00447a420?}, 0x40?)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.7/muxer.go:362 +0x65
<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Create_Handler.func1({0x12468188|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Create_Handler.func1({0x12468188>, 0xc00447a420}, {0x101fcb00?, 0xc00346b590})
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.105.0/proto/go/provider_grpc.pb.go:593 +0x72
<http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x12468188|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x12468188>, 0xc00447a300}, {0x101fcb00, 0xc00346b590}, 0xc004468ea0, 0xc00446aaf8)
/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x3d0
<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Create_Handler({0x1082c840|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Create_Handler({0x1082c840>?, 0xc0028e3260}, {0x12468188, 0xc00447a300}, 0xc002aa3f80, 0xc002c06180)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.105.0/proto/go/provider_grpc.pb.go:595 +0x135
<http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc002c28000|google.golang.org/grpc.(*Server).processUnaryRPC(0xc002c28000>, {0x12468188, 0xc00447a270}, {0x1249a0c0, 0xc000483860}, 0xc0044705a0, 0xc002957d70, 0x1bb10a40, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.61.0/server.go:1385 +0xe03
<http://google.golang.org/grpc.(*Server).handleStream(0xc002c28000|google.golang.org/grpc.(*Server).handleStream(0xc002c28000>, {0x1249a0c0, 0xc000483860}, 0xc0044705a0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.61.0/server.go:1796 +0xfec
<http://google.golang.org/grpc.(*Server).serveStreams.func2.1()|google.golang.org/grpc.(*Server).serveStreams.func2.1()>
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.61.0/server.go:1029 +0x8b
created by <http://google.golang.org/grpc.(*Server).serveStreams.func2|google.golang.org/grpc.(*Server).serveStreams.func2> in goroutine 23
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.61.0/server.go:1040 +0x135
aws:lb:Listener (ths-mlops-adminer-ast-listener):
error: 1 error occurred:
* creating ELBv2 Listener (arn:aws:elasticloadbalancing:eu-west-1:905418445994:loadbalancer/net/ths-clu-alb-0a6f512/b334f21ed84fe807): operation error Elastic Load Balancing v2: CreateListener, https response error StatusCode: 400, RequestID: b0a4c6ff-df2d-4f11-81eb-c0abafddcd7b, DuplicateListener: A listener already exists on this port for this load balancer 'arn:aws:elasticloadbalancing:eu-west-1:905418445994:loadbalancer/net/ths-clu-alb-0a6f512/b334f21ed84fe807'
aws:lb:Listener (ths-mlops-nb-ast-listener):
error: error reading from server: EOF
aws:vpc:SecurityGroupIngressRule (ths-mlops-sql-sg-ingress):
error: connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:42101: connect: connection refused"
Outputs:
dns: "ths-clu-alb-************.<http://elb.eu-west-1.amazonaws.com|elb.eu-west-1.amazonaws.com>"
Resources:
~ 2 updated
31 unchanged
Duration: 12s
make: *** [Makefile:52: pulumi-up] Error 255
any idea what this could be related to?
this is the python code im using:
class ServiceAlbAssets(pulumi.ComponentResource):
def __init__(
self,
name: str, *,
service_alb_args: ServiceAlbAssetsArgs,
opts: pulumi.ResourceOptions | None = None):
super().__init__('ths:services:ServiceAlbAssets', name, {}, opts)
self.service_alb_args = service_alb_args
self.target_group = aws.lb.TargetGroup(
f"{name}-tg",
port=self.service_alb_args.port,
protocol=self.service_alb_args.protocol,
target_type=self.service_alb_args.target_type,
vpc_id=self.service_alb_args.vpc_id,
opts=pulumi.ResourceOptions(parent=self),
)
self.listener = aws.lb.Listener(
f"{name}-listener",
load_balancer_arn=self.service_alb_args.alb,
port=self.service_alb_args.port,
protocol=self.service_alb_args.protocol,
default_actions=[aws.lb.ListenerDefaultActionArgs(
type="forward",
target_group_arn=self.target_group.arn,
)],
opts=pulumi.ResourceOptions(parent=self)
)
self.register_outputs(dict())
bright-magician-13023
02/15/2024, 3:57 PMancient-policeman-24615
02/15/2024, 4:54 PMbright-magician-13023
02/15/2024, 5:14 PM3.101.1
to 3.105.0
and the pulumi-aws package from 6.18.0
to 6.22.0
ancient-policeman-24615
02/15/2024, 5:15 PMbright-magician-13023
02/15/2024, 5:16 PMbright-magician-13023
02/15/2024, 5:16 PMbright-magician-13023
02/15/2024, 5:23 PMbright-magician-13023
02/15/2024, 6:03 PMpulumi-aws
to 6.19.0
fixes the issue abovebright-magician-13023
02/15/2024, 6:04 PMpoetry add pulumi-aws==6.19.0
and this seems to have fixed the issuebright-magician-13023
02/15/2024, 6:43 PM6.21.1
... I can see the new version was released last night...
that is correct, upgrading to 6.22.1
seem to have fixed the problem,
thank you so much!ancient-policeman-24615
02/15/2024, 7:23 PM