alert-raincoat-81485
01/08/2021, 8:02 PMaws.lb.ListenerDefaultActionArgs(
AttributeError: module '<http://pulumi_aws.lb|pulumi_aws.lb>' has no attribute 'ListenerDefaultActionArgs'
error: an unhandled error occurred: Program exited with non-zero exit code: 1
average-school-38756
01/10/2021, 2:46 AM$ pulumi preview --diff
= aws:lb/targetGroup:TargetGroup: (import)
[id=arn:aws:elasticloadbalancing:us-east-2:REDACTED:targetgroup/exampleTargetGroup-20b6d5b/REDACTED]
[urn=urn:pulumi:dev::hello::aws:lb/targetGroup:TargetGroup::exampleTargetGroup]
[provider=urn:pulumi:dev::hello::pulumi:providers:aws::default_3_20_0::REDACTED]
healthCheck : {
enabled : false
healthyThreshold : 5
interval : 35
matcher : "200"
path : "/"
timeout : 30
unhealthyThreshold: 2
}
lambdaMultiValueHeadersEnabled: false
name : "exampleTargetGroup-20b6d5b"
targetType : "lambda"
[...]
error: Preview failed: refreshing urn:pulumi:dev::hello::aws:lb/targetGroupAttachment:TargetGroupAttachment::exampleTargetGroupAttachment: 1 error occurred:
* Error reading Target Health: ValidationError: A target group ARN must be specified
status code: 400, request id: 76b68087-feea-451d-8e22-2770fe1edafa
Code looks like this (and works in the original stack):
lb.TargetGroupAttachment("exampleTargetGroupAttachment",
target_group_arn=example_target_group.arn,
target_id=example_fn.arn,
opts=pulumi.resource.ResourceOptions(depends_on=[example_target_group, with_lb, example_fn], import_='arn:aws:elasticloadbalancing:us-east-2:REDACTED:targetgroup/exampleTargetGroup-20b6d5b/REDACTED')
)
Why would it be saying the target group ARN isn't specified?bright-printer-59109
01/10/2021, 5:53 AMbright-printer-59109
01/10/2021, 5:53 AMmillions-market-17062
01/11/2021, 1:35 PMerror: aws:ec2/launchConfiguration:LaunchConfiguration resource 'eks-matan-ng1-nodeLaunchConfiguration' has a problem: Attribute must be a single value, not a list
alert-raincoat-81485
01/11/2021, 8:18 PMgentle-account-13294
01/12/2021, 1:14 AMreplace
for the Subnet. Actually it is shown as a delete
and a create
Separately. This results in an error when running up
as the create
is getting executed before the delete
. Thoughts on what to do here would be great !!sparse-spring-91820
01/12/2021, 8:20 AMlimited-pager-46264
01/12/2021, 1:06 PMget_vpc
and upon previewing got the following error:
Exception: invocation of aws:ec2/getVpc:getVpc returned an error: invoking aws:ec2/getVpc:getVpc: 1 error occurred:
* no matching VPC found
Is this expected? If not, any idea about the fix?bland-byte-34481
01/12/2021, 5:51 PMpanic: fatal: An assertion has failed: Expected diff to not require deletion or replacement during Update of urn:pulumi:dev::sample-shared::fargate-nginx$aws:ecs/service:Service::sample-shar-app-service
goroutine 1366 [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/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.15.1-0.20201202214525-260620430c4c/go/common/util/contract/failfast.go:23
<http://github.com/pulumi/pulumi/sdk/v2/go/common/util/contract.Assertf(0xc0020f7800|github.com/pulumi/pulumi/sdk/v2/go/common/util/contract.Assertf(0xc0020f7800>, 0x773aaa5, 0x48, 0xc002467778, 0x1, 0x1)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.15.1-0.20201202214525-260620430c4c/go/common/util/contract/assert.go:33 +0x1a5
<http://github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfbridge.(*Provider).Update(0xc00000a780|github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfbridge.(*Provider).Update(0xc00000a780>, 0x80e1260, 0xc00141b1d0, 0xc0018c3f00, 0xc00000a780, 0x688db01, 0xc001c36500)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v2@v2.15.3/pkg/tfbridge/provider.go:958 +0x831
<http://github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler.func1(0x80e1260|github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler.func1(0x80e1260>, 0xc00141b1d0, 0x7443da0, 0xc0018c3f00, 0x7406e00, 0xc117940, 0x80e1260, 0xc00141b1d0)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.15.1-0.20201202214525-260620430c4c/proto/go/provider.pb.go:2305 +0x8b
<http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x80e1260|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x80e1260>, 0xc001027980, 0x7443da0, 0xc0018c3f00, 0xc000a2eb80, 0xc000a2eba0, 0x0, 0x0, 0x8014560, 0xc00007e8d0)
/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x2f6
<http://github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler(0x75046e0|github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Update_Handler(0x75046e0>, 0xc00000a780, 0x80e1260, 0xc001027980, 0xc00241dbc0, 0xc001564c20, 0x80e1260, 0xc001027980, 0xc001617800, 0xb6f)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.15.1-0.20201202214525-260620430c4c/proto/go/provider.pb.go:2307 +0x150
<http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc000a87180|google.golang.org/grpc.(*Server).processUnaryRPC(0xc000a87180>, 0x81060e0, 0xc00034a180, 0xc0003b0400, 0xc001603b30, 0xc0d2ff8, 0x0, 0x0, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:1171 +0x522
<http://google.golang.org/grpc.(*Server).handleStream(0xc000a87180|google.golang.org/grpc.(*Server).handleStream(0xc000a87180>, 0x81060e0, 0xc00034a180, 0xc0003b0400, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:1494 +0xcc5
<http://google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000368020|google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000368020>, 0xc000a87180, 0x81060e0, 0xc00034a180, 0xc0003b0400)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:834 +0xa5
created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1>
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:832 +0x1fd
helpful-kitchen-78641
01/12/2021, 10:51 PMpulumi up
or pulumi refresh
using an S3 bucket as my backend:
error: unable to discover AWS AccessKeyID and/or SecretAccessKey - see <https://pulumi.io/install/aws.html> for details on configuration
AFAIK nothing has changed in my ~/.aws/config
or ~/.aws/credentials
file. I've also tried specifying a profile as suggested here ( github.com/pulumi/pulumi-aws/issues/252#issuecomment-401405577 ) but i'm continuing to bang my head on this problemquaint-guitar-13446
01/12/2021, 11:49 PMfromDockerBuild
quaint-guitar-13446
01/12/2021, 11:49 PMbest-lifeguard-91445
01/13/2021, 2:38 PMpulumi preview
keeps showing changes to the stack, when none are made:
Looks like the container definition / task definitions are showing changes due to ouputs being mapped to the environments: [] array, or secrets: [] array.
Any ideas on how to solve this?
+-aws:ecs/taskDefinition:TaskDefinition: (replace)
[id=use1-dev-registrar-api]
[urn=urn:pulumi:dev::aws::awsx:x:ecs:EC2TaskDefinition$aws:ecs/taskDefinition:TaskDefinition::use1-dev-registrar-api]
[provider=urn:pulumi:dev::aws::pulumi:providers:aws::default_3_21_0::10e8b33b-1a70-4ffc-bb0e-8c586673f58f]
~ containerDefinitions: "[secret]" => "[secret]"
> aws:autoscaling/group:Group: (read)
[id=ecs-use1-dev-edge-services-df916d8-Instances-OEURTU97PJME]
[urn=urn:pulumi:dev::aws::awsx:x:ecs:Cluster$awsx:x:autoscaling:AutoScalingGroup$aws:autoscaling/group:Group::ecs-use1-dev-edge-services]
[provider=urn:pulumi:dev::aws::pulumi:providers:aws::default_3_21_0::10e8b33b-1a70-4ffc-bb0e-8c586673f58f]
~ aws:ecs/service:Service: (update)
[id=arn:aws:ecs:us-east-1:REDACTED:service/ecs-use1-dev-edge-services-cluster-7f77f63/use1-dev-registrar-api-ff48eab]
[urn=urn:pulumi:dev::aws::awsx:x:ecs:EC2Service$aws:ecs/service:Service::use1-dev-registrar-api]
[provider=urn:pulumi:dev::aws::pulumi:providers:aws::default_3_21_0::10e8b33b-1a70-4ffc-bb0e-8c586673f58f]
~ taskDefinition: "arn:aws:ecs:us-east-1:REDACTED:task-definition/use1-dev-registrar-api:569" => output<string>
eager-city-66105
01/13/2021, 5:31 PMtall-winter-40504
01/13/2021, 8:29 PMalert-raincoat-81485
01/13/2021, 11:20 PMimport * as aws from '@pulumi/aws'
const bucket = new aws.s3.Bucket("mybucket");
bucket.onObjectCreated("newObject", async (ev) => {
console.log(JSON.stringify(ev));
});
export const bucketName = bucket.id;
In this example, the onObjecyCreated
method is related to the JS, is there any similar method available in Python for logging purpose?millions-market-17062
01/14/2021, 2:38 PMserviceIpv4Cidr
configured?broad-dog-22463
01/14/2021, 2:56 PMmillions-market-17062
01/14/2021, 2:57 PMbroad-dog-22463
01/14/2021, 2:58 PMbroad-dog-22463
01/14/2021, 2:58 PMmillions-market-17062
01/14/2021, 2:59 PMbroad-dog-22463
01/14/2021, 2:59 PMbroad-dog-22463
01/14/2021, 2:59 PMmillions-market-17062
01/14/2021, 3:00 PMmillions-market-17062
01/14/2021, 3:01 PMbroad-dog-22463
01/14/2021, 3:03 PMlittle-cartoon-10569
01/14/2021, 11:26 PMpulumi up
fails.future-oyster-5387
01/15/2021, 6:40 PM