https://pulumi.com logo
#aws
Title
# aws
w

wooden-egg-90698

07/05/2023, 1:59 PM
Hey guys, any Idea why would pulumi always update lambda api gateway permissions even after using ignoreChanges?
b

billowy-army-68599

07/05/2023, 2:35 PM
can you show the diff?
w

wooden-egg-90698

07/07/2023, 3:46 PM
sure I can
is a bit long so I will copy part of it
Copy code
aws:lambda:Function AssetsIdPutL-development update [diff: ~code]
 ~  aws:lambda:Function UsersMeGainlossesGetL-development update [diff: ~code]
 ~  aws:lambda:Function FOIdAccountsGetL-development update [diff: ~code]
 ~  aws:lambda:Function FOIdAdvisorsAidDeleteL-development update [diff: ~code]
 ~  aws:lambda:Function UsersMeAnalyticsFasterDistributionsIdGetL-development update [diff: ~code]
 ~  aws:lambda:Function SubscriptionsProductsIdFeaturesPostL-development update [diff: ~code]
    aws:lambda:Permission allowAvatarBucket  
    aws:lambda:Permission allowUserFilesBucket  
    aws:s3:BucketNotification bucketAvatarNotification  
    aws:s3:BucketNotification bucketNotification  
    aws:apigateway:RestApi annise-pulumi-development-Gateway  
    aws:apigateway:Deployment annise-pulumi-development-Gateway  
@ previewing update....
    aws:lambda:Permission annise-pulumi-development-Gateway-ece359d9  
    aws:lambda:Permission annise-pulumi-development-Gateway-978071ea  
    aws:lambda:Permission annise-pulumi-development-Gateway-0c03c116  
    aws:lambda:Permission annise-pulumi-development-Gateway-ad9724fc  
    aws:lambda:Permission annise-pulumi-development-Gateway-fee5baa9  
    aws:lambda:Permission annise-pulumi-development-Gateway-08d9be66  
    aws:lambda:Permission annise-pulumi-development-Gateway-7fbda0f0  
    aws:lambda:Permission annise-pulumi-development-Gateway-e8bd5ef2  
    aws:lambda:Permission annise-pulumi-development-Gateway-a01c1dcc  
    aws:lambda:Permission annise-pulumi-development-Gateway-18793f4e  
    aws:lambda:Permission annise-pulumi-development-Gateway-e13d6be3  
    aws:lambda:Permission annise-pulumi-development-Gateway-1e89295e  
    aws:lambda:Permission annise-pulumi-development-Gateway-8930ae7a  
    aws:lambda:Permission annise-pulumi-development-Gateway-daf3878e  
    aws:lambda:Permission annise-pulumi-development-Gateway-61a8a406  
    aws:lambda:Permission annise-pulumi-development-Gateway-5ccbe00f  
    aws:lambda:Permission annise-pulumi-development-Gateway-388a8428  
    aws:lambda:Permission annise-pulumi-development-Gateway-4d3fd6aa
the diff shows changes in code for the lambdas, but no changes over permissions
b

billowy-army-68599

07/07/2023, 3:59 PM
so what actually happens to the permission object?
w

wooden-egg-90698

07/07/2023, 4:19 PM
it just says updating and it takes sometime doing it
@ updating.... 335 awslambdaPermission UsersMeAlertsIdPatchPG
example
I am checking my builds and looks like it has always done this, but it just double the time builds after an upgrade from node 14 to node 16
is this something normal?