sparse-park-68967
05/04/2022, 8:15 PMfreezing-van-87649
05/05/2022, 2:18 AMAnyone know if Aspects work with the interop?
aloof-dress-1001
05/05/2022, 12:51 PMfreezing-umbrella-5483
05/06/2022, 9:07 AMquaint-hydrogen-7228
05/06/2022, 8:54 PMfreezing-umbrella-5483
05/06/2022, 11:38 PMfreezing-umbrella-5483
05/10/2022, 4:37 PMmammoth-diamond-90308
06/01/2022, 9:41 AM$ pulumi up
Previewing update (pulumi-cdk-poc):
Type Name Plan Info
+ pulumi:pulumi:Stack pulumi-cdk-poc-pulumi-cdk-poc create 1 error
+ └─ cdk:index:Stack teststack create
+ └─ cdk:construct:TestStack teststack/teststack create
+ └─ cdk:construct:Bucket teststack/teststack/TestBucket create
+ └─ aws-native:s3:Bucket testbucket560b80bc create
Diagnostics:
pulumi:pulumi:Stack (pulumi-cdk-poc-pulumi-cdk-poc):
error: Error: invocation of aws-native:index:getSsmParameterString returned an error: operation error SSM: GetParameter, https response error StatusCode: 400, RequestID: e2426943-44df-4bbf-b45f-05854c386a05, ParameterNotFound:
at Object.callback (/Users/neovasili/workspace/lab/pulumi-cdk-poc/node_modules/@pulumi/runtime/invoke.ts:162:33)
at Object.onReceiveStatus (/Users/neovasili/workspace/lab/pulumi-cdk-poc/node_modules/@grpc/grpc-js/src/client.ts:338:26)
at Object.onReceiveStatus (/Users/neovasili/workspace/lab/pulumi-cdk-poc/node_modules/@grpc/grpc-js/src/client-interceptors.ts:426:34)
at Object.onReceiveStatus (/Users/neovasili/workspace/lab/pulumi-cdk-poc/node_modules/@grpc/grpc-js/src/client-interceptors.ts:389:48)
at /Users/neovasili/workspace/lab/pulumi-cdk-poc/node_modules/@grpc/grpc-js/src/call-stream.ts:276:24
at processTicksAndRejections (node:internal/process/task_queues:78:11)
mysterious-portugal-60150
06/21/2022, 7:54 PMbored-jackal-93148
07/20/2022, 11:53 PMremapCloudControlResource
question
my cdk stack creates an iam user
const user = new iam.User(scope, "user", {
userName: id,
});
which triggers an error: Resource type aws-native:iam:User not found
I go ahead and add logging to the adaptor to get the type name
console.log(`id ${logicalId}, type: ${typeName}`);
but I don’t see the request for a user hitting the adaptor
id eventsEventsTable18AFE818, type: AWS::DynamoDB::Table
id eventsEventBus329C33D3, type: AWS::Events::EventBus
id accountpublisherServiceRole224F6DB0, type: AWS::IAM::Role
id accountpublisherServiceRoleDefaultPolicy255EE974, type: AWS::IAM::Policy
id accountpublisher3BC67E57, type: AWS::Lambda::Function
any insights into what am I doing wrong?bored-jackal-93148
07/21/2022, 12:01 AMfreezing-umbrella-5483
10/07/2022, 2:09 PMhallowed-train-1850
10/19/2022, 12:28 PMDiagnostics:
aws-native:events:EventBus (ApiEventBus0174951C):
error: Resource type aws-native:events:EventBus not found
Hi guys, seeing the above error when using a CDK construct. Any ideas?quaint-hydrogen-7228
10/23/2022, 1:01 PMDiagnostics:
aws:lb:LoadBalancer (loadbalancedserviceLB1BE8EDCE):
error: aws:lb/loadBalancer:LoadBalancer resource 'loadbalancedserviceLB1BE8EDCE' has a problem: "name" cannot be longer than 32 characters: "loadbalancedserviceLB1BE8EDCE-403d9b7". Examine values at 'LoadBalancer.Name'.
The corresponding code looks like this:
const lbservice = new ApplicationLoadBalancedFargateService(this, 'loadbalanced-service', {
cluster,
taskDefinition: taskdef,
desiredCount: 2,
serviceName: 'my-service',
circuitBreaker: { rollback: true },
publicLoadBalancer: true,
listenerPort: webserverPort,
});
The name part is not an issue with regular AWS CDK, and Pulumi generates a different (shorter) name than AWS CDK, but still too short compared to name lengths allowed by CloudFormation, it seems. The question is really what to think and consider in terms of name issues here, what would be preferred approaches besides keeping construct id values short - and how many levels will this work out with?hallowed-train-1850
10/24/2022, 8:16 PMsalmon-energy-31764
01/26/2023, 7:38 AMsalmon-energy-31764
01/26/2023, 8:13 AMpulumi.Inputs
, be mapped to cdk.Tokens
within the Stack and then map all cdk.Tokens
declared within to pulumi.Output
. This should totally encapsulate the CDK nature of the Construct such that it can be used naturally within a Pulumi app?salmon-energy-31764
01/26/2023, 8:14 AMexport declare type Input<T> = T | Promise<T> | OutputInstance<T>;
salmon-energy-31764
01/27/2023, 1:03 PMsalmon-energy-31764
01/27/2023, 1:39 PMaws:lambda:Permission (StockBotApiGatewayPUTeventualexecutionsexecutionIdsignalssendsignalintegrationPermission5A589):
error: could not make instance of 'aws:lambda/permission:Permission': name 'StockBotApiGatewayPUTeventualexecutionsexecutionIdsignalssendsignalintegrationPermission5A589-' plus 7 random chars is longer than maximum length 100
miniature-musician-31262
02/01/2023, 10:25 PMDiagnostics:
pulumi:pulumi:Stack (pulumi-cdk-dev):
error: Error: invocation of aws-native:index:getSsmParameterString returned an error: operation error SSM: GetParameter, https response error StatusCode: 400, RequestID: 8601c689-efde-477c-abc1-fa178badb77f, ParameterNotFound:
Could this be because the AWS account I’m using hasn’t been bootstrapped for CDK? I don’t think it has, so wondering if that’s what this might be about.curved-country-30290
02/28/2023, 9:45 PMVpc.fromLookup
method. Anyone else bump into this problem?
I have an existing VPC that I want to use but Pulumi is erroring out and is instead using a placeholder VPC reference (vpc-12345)
Diagnostics:
aws:lb:TargetGroup (ServiceLBPublicListenerECSGroup0CC8688C):
error: 1 error occurred:
* creating LB Target Group: ValidationError: The VPC ID 'vpc-12345' is not found
status code: 400, request id: 5b58926c-338e-41e0-b0f8-10e7588ce64a
aws:ec2:SecurityGroup (ServiceSecurityGroupEEA09B68):
error: 1 error occurred:
* creating Security Group (ServiceSecurityGroupEEA09B68-b2c605f): InvalidVpcID.NotFound: The vpc ID 'vpc-12345' does not exist
status code: 400, request id: de44e778-78ef-4a97-bdfa-14a64a294ae0
aws:ec2:SecurityGroup (ServiceLBSecurityGroupF7435A5C):
error: 1 error occurred:
* creating Security Group (ServiceLBSecurityGroupF7435A5C-f054950): InvalidVpcID.NotFound: The vpc ID 'vpc-12345' does not exist
status code: 400, request id: 2260d61e-dfd3-4db4-9332-7110ce670c5c
pulumi:pulumi:Stack (pulumi-spike-demo):
error: update failed
Code:
class FargateStack extends pulumicdk.Stack {
clusterArn: pulumi.Output<string>;
serviceArn: pulumi.Output<string>;
constructor(id: string, options?: pulumicdk.StackOptions) {
super(id, options);
const vpc = ec2.Vpc.fromLookup(this, "VPC", {
vpcId: "vpc-000000aaaaaab",
});
const service = new ecsPatterns.ApplicationLoadBalancedFargateService(
this,
"Service",
{
vpc,
cpu: 512,
memoryLimitMiB: 1024,
desiredCount: 1,
taskImageOptions: {
image: ecs.ContainerImage.fromRegistry(
"amazon/amazon-ecs-sample"
),
},
}
);
this.clusterArn = this.asOutput(service.cluster.clusterArn);
this.serviceArn = this.asOutput(service.service.serviceArn);
this.synth();
}
}
new FargateStack("FargateStack", {
props: {
env: {
region: "us-west-2",
account: "1234567890",
},
},
});
quaint-hydrogen-7228
03/01/2023, 10:30 AM