lively-helmet-97905
05/12/2022, 7:22 PMgetting credentials: exec plugin is configured to use API version <http://client.authentication.k8s.io/v1beta1|client.authentication.k8s.io/v1beta1>, plugin returned version <http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>
Any walkaround of how to solve this ?brainy-electrician-65792
05/13/2022, 7:56 AMgreat-sunset-355
05/13/2022, 9:19 AM{
"status": "error",
"message": "datadog:handler not initialized"
}
bumpy-laptop-30846
05/13/2022, 2:51 PMbusy-lion-51883
05/13/2022, 5:32 PMsparse-intern-71089
05/15/2022, 10:37 AMalert-spoon-97538
05/16/2022, 6:18 AMget
, apply
, or anything I try I can't get the outputs of one stack to do anything relevant on another. Side note, I'm having a hard time understanding why the Type of an output pulled from a StackRef is treated the same as the unresolved outputs in the working stack. The StackRef stack by definition has been applied, all of those output values are known, otherwise Pulumi rightly throws an error.stocky-petabyte-29883
05/16/2022, 10:01 AMwitty-helmet-38026
05/16/2022, 12:00 PMawsx.ecs.FargateTaskDefinition
to setup the task definition. Now I want to use cpuArchitecture: ARM64 because its better. But it seems that I have to switch over to aws.ecs.TaskDefinition
to be able to set it. By doing that I also have to change how I setup the service ( awsx.ecs.FargateService
) because it needs to be awsx.ecs.FargateTaskDefinition
. Am i missing something or is it that once that I want to go outside of the AWSX(crosswalk) scope I need to change all related services to AWS? Is there a work-around or something I’am missing?most-state-94104
05/16/2022, 1:15 PM+ aws:s3:Bucket aaa creating
+ aws:s3:Bucket aaa creating error: 1 error occurred:
+ aws:s3:Bucket aaa **creating failed** error: 1 error occurred:
Diagnostics:
aws:s3:Bucket (aaa):
error: 1 error occurred:
* Error creating S3 bucket: BucketAlreadyOwnedByYou: Your previous request to create the named bucket succeeded and you already own it.
status code: 409, request id: Q3A6YB3N22Y5T7WW, host id: huiDWKeYcWdOUbIIjq/h4RlUSNCXA1yQG0l85af5uXLaZpVFsnHXVD5lUkP0QRmGTiPFLajBiwo=
How can I tell pulumi to recognise the existing bucket so that it doesn’t try to delete and recreate it? I get the same error when I run pulumi locally (v3.32.1) and through a github action (v3.31.0)dry-teacher-74595
05/17/2022, 7:28 AMdry-teacher-74595
05/17/2022, 7:30 AMmagnificent-lifeguard-15082
05/17/2022, 1:34 PMsourceHash
cannot be overridden) and I have a feeling that we're seeing the issue again here. Has anyone seen this? Has anyone resolved this?better-secretary-59658
05/17/2022, 4:32 PMsquare-dress-80180
05/17/2022, 11:27 PMpulumi up
that is associated with the aws.apigateway.VpcLink()
resource.
Diagnostics:
aws:apigateway:VpcLink (testing-alb-vpc-link):
error: Preview failed: error reading from server: EOF
pulumi:pulumi:Stack (bioinfo-tools-app-infra-testing):
panic: Error reading level config: '' expected type 'string', got unconvertible type '[]interface {}', value: '[74D93920-ED26-11E3-AC10-0800200C9A66]'
goroutine 31 [running]:
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).get(0xc001ffa100|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).get(0xc001ffa100>, 0xc002185be0, 0x1, 0x1, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/resource_data.go:553 +0x429
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).getChange(0xc001ffa100|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).getChange(0xc001ffa100>, 0x79f2a96, 0xb, 0xc002df1201, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/resource_data.go:524 +0x125
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).diffChange(0xc001ffa100|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).diffChange(0xc001ffa100>, 0x79f2a96, 0xb, 0xb, 0x0, 0x0, 0x1, 0xc00090e540)
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/resource_data.go:501 +0x97
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.schemaMap.diffList(0xc000f73380|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.schemaMap.diffList(0xc000f73380>, 0x79f2a96, 0xb, 0xc000f9f040, 0xc001b71278, 0x853c770, 0xc001ffa100, 0x203000, 0x0, 0x0)
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/schema.go:997 +0x66
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.schemaMap.diff(0xc000f73380|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.schemaMap.diff(0xc000f73380>, 0x79f2a96, 0xb, 0xc000f9f040, 0xc001f719a0, 0x853c770, 0xc001ffa100, 0xc002df7400, 0x0, 0x0)
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/schema.go:958 +0x473
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.schemaMap.Diff(0xc000f73380|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.schemaMap.Diff(0xc000f73380>, 0x85220d8, 0xc0000500d0, 0x0, 0xc001fbbc50, 0x0, 0x6c87740, 0xc0020d8000, 0xc001936900, 0xc001fbbc20, ...)
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/schema.go:521 +0x219
<http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).SimpleDiff(0xc000fa0000|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).SimpleDiff(0xc000fa0000>, 0x85220d8, 0xc0000500d0, 0x0, 0xc001fbbc50, 0x6c87740, 0xc0020d8000, 0x0, 0x0, 0xc000011040)
/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/resource.go:446 +0x9f
<http://github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfshim/sdk-v2.v2Provider.Diff(0xc001936960|github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfshim/sdk-v2.v2Provider.Diff(0xc001936960>, 0x7a475e2, 0x18, 0x0, 0x0, 0x8466f80, 0xc001fbbc50, 0x8466f80, 0xc001fbbc50, 0xc001fbbbc0, ...)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v2@v2.21.0/pkg/tfshim/sdk-v2/provider.go:99 +0x1cc
<http://github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfbridge.(*Provider).Create(0xc00000ab40|github.com/pulumi/pulumi-terraform-bridge/v2/pkg/tfbridge.(*Provider).Create(0xc00000ab40>, 0x8522148, 0xc001fbbb00, 0xc001fbe820, 0xc00000ab40, 0x6beba01, 0xc001fc1fc0)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v2@v2.21.0/pkg/tfbridge/provider.go:772 +0x508
<http://github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Create_Handler.func1(0x8522148|github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Create_Handler.func1(0x8522148>, 0xc001fbbb00, 0x776f4c0, 0xc001fbe820, 0x77cbf00, 0xc6decc0, 0x8522148, 0xc001fbbb00)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.22.1-0.20210310211618-1f16423ede4c/proto/go/provider.pb.go:2269 +0x89
<http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x8522148|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x8522148>, 0xc001fbba70, 0x776f4c0, 0xc001fbe820, 0xc001f71860, 0xc001fabe90, 0x0, 0x0, 0x8452aa0, 0xc000444b20)
/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x30a
<http://github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Create_Handler(0x78cf740|github.com/pulumi/pulumi/sdk/v2/proto/go._ResourceProvider_Create_Handler(0x78cf740>, 0xc00000ab40, 0x8522148, 0xc001fbba70, 0xc001eefc80, 0xc001921900, 0x8522148, 0xc001fbba70, 0xc001f792c0, 0x12c)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v2@v2.22.1-0.20210310211618-1f16423ede4c/proto/go/provider.pb.go:2271 +0x150
<http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc0006ccc40|google.golang.org/grpc.(*Server).processUnaryRPC(0xc0006ccc40>, 0x8543bf8, 0xc000a5a300, 0xc001e34500, 0xc001a33ec0, 0xc69c8a8, 0x0, 0x0, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.34.0/server.go:1210 +0x52b
<http://google.golang.org/grpc.(*Server).handleStream(0xc0006ccc40|google.golang.org/grpc.(*Server).handleStream(0xc0006ccc40>, 0x8543bf8, 0xc000a5a300, 0xc001e34500, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.34.0/server.go:1533 +0xd0c
<http://google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000a34050|google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000a34050>, 0xc0006ccc40, 0x8543bf8, 0xc000a5a300, 0xc001e34500)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.34.0/server.go:871 +0xab
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.34.0/server.go:869 +0x1fd
code snippet that is generating the VpcLink:
load_balancer = aws.lb.LoadBalancer(f'{env}-bta-alb',
load_balancer_type = "network",
internal = True,
security_groups = [load_balancer_security_group.id],
subnets = [private_subnets[0].id, private_subnets[1].id])
load_balancer_vpc_link = aws.apigateway.VpcLink(f"{env}-alb-vpc-link",
description="enable apigateway-to-alb connection in private subnets",
target_arn=[load_balancer.arn])
When I comment out the VpcLink
the preview runs through. Any guidance on how to debug?witty-helmet-38026
05/18/2022, 11:27 AMupdating API Gateway v2 route (ion6q9r): BadRequestException: Invalid authorizer ID specified. Setting the authorization type to CUSTOM or COGNITO_USER_POOLS requires a valid authorizer.
If I set it up manually it works, but doesn’t through pulumi. Any idea why?``
const authorizer = await aws.lambda.getFunction({
functionName: 'testAuth',
});
const route = new aws.apigatewayv2.Route(`${STACK_NAME}-route`, {
authorizerId: authorizer.id,
authorizationType: 'CUSTOM',
routeKey: 'ANY /{id}/recpies/{recipeId}',
apiId: httpApi.id,
target: pulumi.interpolate`integrations/${integration.id}`,
});
``````polite-king-94596
05/18/2022, 5:55 PMpolite-king-94596
05/18/2022, 5:57 PMpulumi up
billowy-horse-79629
05/19/2022, 7:32 AMconst subnet = aws.ec2.Subnet.get()
, I can’t update its tags as tags
attribute is readonly.
Does anyone know how to overcome this and update its tags ?rhythmic-whale-48997
05/19/2022, 10:43 AMDiagnostics:
eks:index:VpcCni (test-swa-vpc-cni):
error: Command failed: kubectl apply -f /tmp/tmp-4006Qk4Ya2zxgl1O.tmp
Kubeconfig user entry is using deprecated API version <http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>. Run 'aws eks update-kubeconfig' to update.
Warning: spec.template.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[0].key: <http://beta.kubernetes.io/os|beta.kubernetes.io/os> is deprecated since v1.14; use "<http://kubernetes.io/os|kubernetes.io/os>" instead
Warning: spec.template.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[0].matchExpressions[1].key: <http://beta.kubernetes.io/arch|beta.kubernetes.io/arch> is deprecated since v1.14; use "<http://kubernetes.io/arch|kubernetes.io/arch>" instead
error: unable to recognize "/tmp/tmp-4006Qk4Ya2zxgl1O.tmp": no matches for kind "CustomResourceDefinition" in version "<http://apiextensions.k8s.io/v1beta1|apiextensions.k8s.io/v1beta1>"
icy-controller-6092
05/20/2022, 7:46 AMfaint-balloon-33174
05/20/2022, 1:13 PMaws-native:wafv2:IPSet (dev-whitelist-global):
error: operation error CloudControl: UpdateResource, https response error StatusCode: 400, RequestID: a6668364-2888-479c-8e12-8c0179ccc795, api error ValidationException: Model validation failed (#/Tags: expected minimum item count: 1, found: 0)
In order to get around this, I need to comment out the tags and it works for one deploy. Then on the next deploy that updates the IPSet it fails with the same error and I need to uncomment the tags for it to succeed and the cycle repeats.
The tags are just
[
{
key: 'env',
value: 'development',
},
]
lemon-television-29125
05/23/2022, 8:26 AMpurple-nest-55702
05/23/2022, 10:06 AMelegant-laptop-80400
05/23/2022, 4:11 PMpulumi import aws:ec2transitgateway/route:Route example tgw-rtb-12345278_10.150.8.0/21
I keep getting "resource does not exist", is there something I am missing here?faint-balloon-33174
05/23/2022, 5:30 PMCookies
field but https://www.pulumi.com/registry/packages/aws/api-docs/wafv2/webacl/#webaclrulestatementbytematchstatementfieldtomatch defines no such field. Also that page in the documentation is so long that it causes problems for both Chrome and Firefox 😆.
Here's the full JSON of an example rule in the AWS UI:
{
"Name": "test-rule",
"Priority": 0,
"Action": {
"Allow": {}
},
"VisibilityConfig": {
"SampledRequestsEnabled": true,
"CloudWatchMetricsEnabled": true,
"MetricName": "test-rule"
},
"Statement": {
"OrStatement": {
"Statements": [
{
"ByteMatchStatement": {
"FieldToMatch": {
"Cookies": {
"MatchScope": "ALL",
"MatchPattern": {
"IncludedCookies": [
"test-cookie-123"
]
},
"OversizeHandling": ""
}
},
"PositionalConstraint": "EXACTLY",
"SearchString": "testvalue123",
"TextTransformations": [
{
"Type": "NONE",
"Priority": 0
}
]
}
},
{}
]
}
}
}
great-waiter-70568
05/25/2022, 4:07 AMbreezy-butcher-78604
05/26/2022, 4:14 AMawsx
VPC that i have peered to another VPC and I now want to go and add a route into each of the route tables created by the awsx VPC. I’ve got it working with the below code but wanted to see if there was a cleaner way to do this so the routes don’t need to be created inside an apply()
magnificent-lifeguard-15082
05/26/2022, 12:32 PMlively-painting-61118
05/26/2022, 5:40 PMchatbot
entry, either via importing an existing resource or just creating one “by hand (typescript)” as a test. Both attempts are receiving 400
responses from AWS. Does anyone know if this is actually working right now?