CDK Diff Shows Differences When Pulled from Repo

0

I'm working with a CDK deployment that another coworker put together. I pulled it from a repo and when I diff on my end , I see a bunch of Refs as being different from what is currently deployed, ie.

[~] AWS::IAM::Policy Custom::CDKBucketDeployment..../ServiceRole/DefaultPolicy CustomCDKBucketDeployment...ServiceRoleDefaultPolicy...FDF 
 └─ [~] PolicyDocument
     └─ [~] .Statement:
         └─ @@ -17,7 +17,7 @@
            [ ]     },
            [ ]     ":s3:::",
            [ ]     {
            [-]       "Ref": "AssetParameters...71A7"
            [+]       "Ref": "AssetParameters...E99B2"
            [ ]     }

For debugging, another interesting difference is the path changing for an asset,

[~] AWS::Lambda::LayerVersion DeployConfig/AwsCliLayer DeployConfigAwsCliLayer...
 └─ [~] Metadata
     └─ [~] .aws:asset:original-path:
         ├─ [-] /private/var/folders/96/.../T/jsii-kernel-O1sxtX/node_modules/@aws-cdk/lambda-layer-awscli/lib/layer.zip
         └─ [+] /tmp/jsii-kernel-jSg2jv/node_modules/@aws-cdk/lambda-layer-awscli/lib/layer.zip

Is it possible that these changes won't affect our existing deployment if I deploy? The code I've pulled is up to date so I can't explain why I would have these differences.

manwar
질문됨 2년 전42회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠