Pahud Hsieh

Results 356 comments of Pahud Hsieh

I was not able to deploy with the provided code snippets. Are you able to simplify it and provide all necessary info including the buildspec of codebuild and a sample...

This is because when [S3Origin](https://github.com/aws/aws-cdk/blob/64df08b80ad8c69c99c9e0178ccd58bd177fbd78/packages/aws-cdk-lib/aws-cloudfront-origins/lib/s3-origin.ts#L27) is created, it essentially creates an S3BucketOrigin with the bucket as its scope([details](https://github.com/aws/aws-cdk/blob/64df08b80ad8c69c99c9e0178ccd58bd177fbd78/packages/aws-cdk-lib/aws-cloudfront-origins/lib/s3-origin.ts#L36C11-L36C25)) and it has to be in the bucket stack per explained [here](https://github.com/aws/aws-cdk/blob/64df08b80ad8c69c99c9e0178ccd58bd177fbd78/packages/aws-cdk-lib/aws-cloudfront-origins/lib/s3-origin.ts#L60-L68).

Yes I agree. Can you share a little code snippets about this and what's the desired API experience with some sample? I am making it a p2 and we welcome...

So it sounds like you just modified the storage type from console and now you are trying to update the instance type with CDK but failed with the error? >even...

Following up this issue - aws-service-spec is now used as the CFN schema source rather than cfnspec. I think relevant document has been updated. Let me know if there's any...

I would write this way instead ```ts Tags.of(this).add('Environment', `${Stack.of(this).stackName}-${env}-foo`); ``` Does it work for you?

cdk 2.19.0 was released in April 2022 and it might not have full test with node18. I am wondering: 1. Are you able to deploy that using your local machine...

Given we already have [LookedUpVpc](https://github.com/aws/aws-cdk/blob/1f7075f8bd6bd3c1d760cb9e899a7cba52e2993a/packages/aws-cdk-lib/aws-ec2/lib/vpc.ts#L2218), it's unclear to me why we need a new class in aws-ec2 ? Can you elaborate more on it?

Thanks for the report. We'll look into this issue and discuss with the team.

Yes it could be painful when we `npm update`. Thank you for your feedback and we welcome more thoughts from the community.