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
asked 2 years ago40 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions