Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove old unused LSI #85

Merged
merged 2 commits into from
Oct 26, 2021
Merged

Remove old unused LSI #85

merged 2 commits into from
Oct 26, 2021

Conversation

fulder
Copy link
Owner

@fulder fulder commented Oct 26, 2021

No description provided.

@github-actions
Copy link

cdk diff Success

Show Output
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
jsii 1.39.0 requires attrs~=21.2, but you have attrs 20.3.0 which is incompatible.
Installing layer requirements to target: /github/workspace/build/api/python/lib/python3.8/site-packages
Installing layer requirements to target: /github/workspace/build/databases/python/lib/python3.8/site-packages
Installing layer requirements to target: /github/workspace/build/utils/python/lib/python3.8/site-packages
Stack watch-history
Parameters
[-] Parameter AssetParametersa7ec345cc74368c4df7abbbe752458d189a7baab22ac0111aaeff377ce5d1b73S3Bucket89215C5A: {"Type":"String","Description":"S3 bucket for asset \"a7ec345cc74368c4df7abbbe752458d189a7baab22ac0111aaeff377ce5d1b73\""}
[-] Parameter AssetParametersa7ec345cc74368c4df7abbbe752458d189a7baab22ac0111aaeff377ce5d1b73S3VersionKey9D96586B: {"Type":"String","Description":"S3 key for asset version \"a7ec345cc74368c4df7abbbe752458d189a7baab22ac0111aaeff377ce5d1b73\""}
[-] Parameter AssetParametersa7ec345cc74368c4df7abbbe752458d189a7baab22ac0111aaeff377ce5d1b73ArtifactHash143F13A1: {"Type":"String","Description":"Artifact hash for asset \"a7ec345cc74368c4df7abbbe752458d189a7baab22ac0111aaeff377ce5d1b73\""}
[-] Parameter AssetParameters4ca2247139cbc7dd372243163645abeaacfb6e01f0eb29551a8efe349208f8e0S3Bucket1E715644: {"Type":"String","Description":"S3 bucket for asset \"4ca2247139cbc7dd372243163645abeaacfb6e01f0eb29551a8efe349208f8e0\""}
[-] Parameter AssetParameters4ca2247139cbc7dd372243163645abeaacfb6e01f0eb29551a8efe349208f8e0S3VersionKey8AE5717F: {"Type":"String","Description":"S3 key for asset version \"4ca2247139cbc7dd372243163645abeaacfb6e01f0eb29551a8efe349208f8e0\""}
[-] Parameter AssetParameters4ca2247139cbc7dd372243163645abeaacfb6e01f0eb29551a8efe349208f8e0ArtifactHash5FD600F7: {"Type":"String","Description":"Artifact hash for asset \"4ca2247139cbc7dd372243163645abeaacfb6e01f0eb29551a8efe349208f8e0\""}
[-] Parameter AssetParameterse275e780354772eecabf91fd57e842124db5895fbc5835b47b0746160e2c9e7aS3BucketADC24A19: {"Type":"String","Description":"S3 bucket for asset \"e275e780354772eecabf91fd57e842124db5895fbc5835b47b0746160e2c9e7a\""}
[-] Parameter AssetParameterse275e780354772eecabf91fd57e842124db5895fbc5835b47b0746160e2c9e7aS3VersionKey625E0A36: {"Type":"String","Description":"S3 key for asset version \"e275e780354772eecabf91fd57e842124db5895fbc5835b47b0746160e2c9e7a\""}
[-] Parameter AssetParameterse275e780354772eecabf91fd57e842124db5895fbc5835b47b0746160e2c9e7aArtifactHashBC94B809: {"Type":"String","Description":"Artifact hash for asset \"e275e780354772eecabf91fd57e842124db5895fbc5835b47b0746160e2c9e7a\""}
[+] Parameter AssetParameters/c7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2/S3Bucket AssetParametersc7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2S3Bucket17A737BE: {"Type":"String","Description":"S3 bucket for asset \"c7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2\""}
[+] Parameter AssetParameters/c7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2/S3VersionKey AssetParametersc7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2S3VersionKey41A128D3: {"Type":"String","Description":"S3 key for asset version \"c7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2\""}
[+] Parameter AssetParameters/c7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2/ArtifactHash AssetParametersc7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2ArtifactHashD17F50C7: {"Type":"String","Description":"Artifact hash for asset \"c7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2\""}
[+] Parameter AssetParameters/288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2/S3Bucket AssetParameters288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2S3Bucket5E43060E: {"Type":"String","Description":"S3 bucket for asset \"288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2\""}
[+] Parameter AssetParameters/288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2/S3VersionKey AssetParameters288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2S3VersionKeyDDCC7C3C: {"Type":"String","Description":"S3 key for asset version \"288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2\""}
[+] Parameter AssetParameters/288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2/ArtifactHash AssetParameters288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2ArtifactHashE599820F: {"Type":"String","Description":"Artifact hash for asset \"288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2\""}
[+] Parameter AssetParameters/610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145/S3Bucket AssetParameters610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145S3Bucket03715CB3: {"Type":"String","Description":"S3 bucket for asset \"610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145\""}
[+] Parameter AssetParameters/610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145/S3VersionKey AssetParameters610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145S3VersionKey37C574B5: {"Type":"String","Description":"S3 key for asset version \"610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145\""}
[+] Parameter AssetParameters/610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145/ArtifactHash AssetParameters610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145ArtifactHashC2C6A157: {"Type":"String","Description":"Artifact hash for asset \"610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145\""}

Resources
[~] AWS::DynamoDB::Table watch_history watchhistoryC6E1702F replace
 ├─ [~] AttributeDefinitions (may cause replacement)
 │   └─ @@ -8,10 +8,6 @@
 │      [ ]   "AttributeType": "S"
 │      [ ] },
 │      [ ] {
 │      [-]   "AttributeName": "client_id",
 │      [-]   "AttributeType": "S"
 │      [-] },
 │      [-] {
 │      [ ]   "AttributeName": "rating",
 │      [ ]   "AttributeType": "N"
 │      [ ] },
 ├─ [~] GlobalSecondaryIndexes
 │   └─ @@ -10,29 +10,5 @@
 │      [ ]     "Projection": {
 │      [ ]       "ProjectionType": "ALL"
 │      [ ]     }
 │      [-]   },
 │      [-]   {
 │      [-]     "IndexName": "ep_progress",
 │      [-]     "KeySchema": [
 │      [-]       {
 │      [-]         "AttributeName": "ep_progress",
 │      [-]         "KeyType": "HASH"
 │      [-]       }
 │      [-]     ],
 │      [-]     "Projection": {
 │      [-]       "ProjectionType": "ALL"
 │      [-]     }
 │      [-]   },
 │      [-]   {
 │      [-]     "IndexName": "special_progress",
 │      [-]     "KeySchema": [
 │      [-]       {
 │      [-]         "AttributeName": "special_progress",
 │      [-]         "KeyType": "HASH"
 │      [-]       }
 │      [-]     ],
 │      [-]     "Projection": {
 │      [-]       "ProjectionType": "ALL"
 │      [-]     }
 │      [ ]   }
 │      [ ] ]
 └─ [~] LocalSecondaryIndexes (requires replacement)
     └─ @@ -1,13 +1,13 @@
        [ ] [
        [ ]   {
        [-]     "IndexName": "client_id",
        [+]     "IndexName": "rating",
        [ ]     "KeySchema": [
        [ ]       {
        [ ]         "AttributeName": "username",
        [ ]         "KeyType": "HASH"
        [ ]       },
        [ ]       {
        [-]         "AttributeName": "client_id",
        [+]         "AttributeName": "rating",
        [ ]         "KeyType": "RANGE"
        [ ]       }
        [ ]     ],
        @@ -16,14 +16,14 @@
        [ ]   }
        [ ] },
        [ ] {
        [-]   "IndexName": "rating",
        [+]   "IndexName": "latest_watch_date",
        [ ]   "KeySchema": [
        [ ]     {
        [ ]       "AttributeName": "username",
        [ ]       "KeyType": "HASH"
        [ ]     },
        [ ]     {
        [-]       "AttributeName": "rating",
        [+]       "AttributeName": "latest_watch_date",
        [ ]       "KeyType": "RANGE"
        [ ]     }
        [ ]   ],
        @@ -32,14 +32,14 @@
        [ ]   }
        [ ] },
        [ ] {
        [-]   "IndexName": "latest_watch_date",
        [+]   "IndexName": "state",
        [ ]   "KeySchema": [
        [ ]     {
        [ ]       "AttributeName": "username",
        [ ]       "KeyType": "HASH"
        [ ]     },
        [ ]     {
        [-]       "AttributeName": "latest_watch_date",
        [+]       "AttributeName": "state",
        [ ]       "KeyType": "RANGE"
        [ ]     }
        [ ]   ],
        @@ -48,19 +48,35 @@
        [ ]     }
        [ ]   },
        [ ]   {
        [-]     "IndexName": "state",
        [+]     "IndexName": "ep_progress",
        [ ]     "KeySchema": [
        [ ]       {
        [ ]         "AttributeName": "username",
        [ ]         "KeyType": "HASH"
        [ ]       },
        [ ]       {
        [-]         "AttributeName": "state",
        [+]         "AttributeName": "ep_progress",
        [ ]         "KeyType": "RANGE"
        [ ]       }
        [ ]     ],
        [ ]     "Projection": {
        [ ]       "ProjectionType": "ALL"
        [ ]     }
        [+]   },
        [+]   {
        [+]     "IndexName": "special_progress",
        [+]     "KeySchema": [
        [+]       {
        [+]         "AttributeName": "username",
        [+]         "KeyType": "HASH"
        [+]       },
        [+]       {
        [+]         "AttributeName": "special_progress",
        [+]         "KeyType": "RANGE"
        [+]       }
        [+]     ],
        [+]     "Projection": {
        [+]       "ProjectionType": "ALL"
        [+]     }
        [ ]   }
        [ ] ]
[~] AWS::Lambda::LayerVersion databases databasesF4B06D19 replace
 ├─ [~] Content (requires replacement)
 │   ├─ [~] .S3Bucket:
 │   │   └─ [~] .Ref:
 │   │       ├─ [-] AssetParametersa7ec345cc74368c4df7abbbe752458d189a7baab22ac0111aaeff377ce5d1b73S3Bucket89215C5A
 │   │       └─ [+] AssetParametersc7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2S3Bucket17A737BE
 │   └─ [~] .S3Key:
 │       └─ [~] .Fn::Join:
 │           └─ @@ -8,7 +8,7 @@
 │              [ ]   "Fn::Split": [
 │              [ ]     "||",
 │              [ ]     {
 │              [-]       "Ref": "AssetParametersa7ec345cc74368c4df7abbbe752458d189a7baab22ac0111aaeff377ce5d1b73S3VersionKey9D96586B"
 │              [+]       "Ref": "AssetParametersc7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2S3VersionKey41A128D3"
 │              [ ]     }
 │              [ ]   ]
 │              [ ] }
 │              @@ -21,7 +21,7 @@
 │              [ ]   "Fn::Split": [
 │              [ ]     "||",
 │              [ ]     {
 │              [-]       "Ref": "AssetParametersa7ec345cc74368c4df7abbbe752458d189a7baab22ac0111aaeff377ce5d1b73S3VersionKey9D96586B"
 │              [+]       "Ref": "AssetParametersc7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2S3VersionKey41A128D3"
 │              [ ]     }
 │              [ ]   ]
 │              [ ] }
 └─ [~] Metadata
     └─ [~] .aws:asset:path:
         ├─ [-] asset.a7ec345cc74368c4df7abbbe752458d189a7baab22ac0111aaeff377ce5d1b73
         └─ [+] asset.c7e7376f38c30f2a855b29c23882d11edeb0b67bf3cc24b5b8dcfc34534df9f2
[~] AWS::Lambda::Function api-watch_history_by_collection apiwatchhistorybycollection9D02D213 
 ├─ [~] Code
 │   ├─ [~] .S3Bucket:
 │   │   └─ [~] .Ref:
 │   │       ├─ [-] AssetParameters4ca2247139cbc7dd372243163645abeaacfb6e01f0eb29551a8efe349208f8e0S3Bucket1E715644
 │   │       └─ [+] AssetParameters288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2S3Bucket5E43060E
 │   └─ [~] .S3Key:
 │       └─ [~] .Fn::Join:
 │           └─ @@ -8,7 +8,7 @@
 │              [ ]   "Fn::Split": [
 │              [ ]     "||",
 │              [ ]     {
 │              [-]       "Ref": "AssetParameters4ca2247139cbc7dd372243163645abeaacfb6e01f0eb29551a8efe349208f8e0S3VersionKey8AE5717F"
 │              [+]       "Ref": "AssetParameters288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2S3VersionKeyDDCC7C3C"
 │              [ ]     }
 │              [ ]   ]
 │              [ ] }
 │              @@ -21,7 +21,7 @@
 │              [ ]   "Fn::Split": [
 │              [ ]     "||",
 │              [ ]     {
 │              [-]       "Ref": "AssetParameters4ca2247139cbc7dd372243163645abeaacfb6e01f0eb29551a8efe349208f8e0S3VersionKey8AE5717F"
 │              [+]       "Ref": "AssetParameters288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2S3VersionKeyDDCC7C3C"
 │              [ ]     }
 │              [ ]   ]
 │              [ ] }
 └─ [~] Metadata
     └─ [~] .aws:asset:path:
         ├─ [-] asset.4ca2247139cbc7dd372243163645abeaacfb6e01f0eb29551a8efe349208f8e0
         └─ [+] asset.288f16ecd4a31fdc434b89dc720d9821e5bfb562d38621785d5f588532dfe1e2
[~] AWS::Lambda::Function subscribers-show_updates subscribersshowupdates0F846A14 
 ├─ [~] Code
 │   ├─ [~] .S3Bucket:
 │   │   └─ [~] .Ref:
 │   │       ├─ [-] AssetParameterse275e780354772eecabf91fd57e842124db5895fbc5835b47b0746160e2c9e7aS3BucketADC24A19
 │   │       └─ [+] AssetParameters610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145S3Bucket03715CB3
 │   └─ [~] .S3Key:
 │       └─ [~] .Fn::Join:
 │           └─ @@ -8,7 +8,7 @@
 │              [ ]   "Fn::Split": [
 │              [ ]     "||",
 │              [ ]     {
 │              [-]       "Ref": "AssetParameterse275e780354772eecabf91fd57e842124db5895fbc5835b47b0746160e2c9e7aS3VersionKey625E0A36"
 │              [+]       "Ref": "AssetParameters610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145S3VersionKey37C574B5"
 │              [ ]     }
 │              [ ]   ]
 │              [ ] }
 │              @@ -21,7 +21,7 @@
 │              [ ]   "Fn::Split": [
 │              [ ]     "||",
 │              [ ]     {
 │              [-]       "Ref": "AssetParameterse275e780354772eecabf91fd57e842124db5895fbc5835b47b0746160e2c9e7aS3VersionKey625E0A36"
 │              [+]       "Ref": "AssetParameters610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145S3VersionKey37C574B5"
 │              [ ]     }
 │              [ ]   ]
 │              [ ] }
 └─ [~] Metadata
     └─ [~] .aws:asset:path:
         ├─ [-] asset.e275e780354772eecabf91fd57e842124db5895fbc5835b47b0746160e2c9e7a
         └─ [+] asset.610a65d068ba08529c51627730c8187493dc40797d9686708646a55bc508c145

Workflow: dryrun, Action: __youyo_aws-cdk-github-actions, Working Directory: deploy

@fulder fulder merged commit acc775b into master Oct 26, 2021
@fulder fulder deleted the remove-old-lsi branch October 26, 2021 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant