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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ