{"action":"created","issue":{"url":"https://api.github.com/repos/aws-samples/aws-appsync-rds-aurora-sample/issues/6","repository_url":"https://api.github.com/repos/aws-samples/aws-appsync-rds-aurora-sample","labels_url":"https://api.github.com/repos/aws-samples/aws-appsync-rds-aurora-sample/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/aws-samples/aws-appsync-rds-aurora-sample/issues/6/comments","events_url":"https://api.github.com/repos/aws-samples/aws-appsync-rds-aurora-sample/issues/6/events","html_url":"https://github.com/aws-samples/aws-appsync-rds-aurora-sample/issues/6","id":358576329,"node_id":"MDU6SXNzdWUzNTg1NzYzMjk=","number":6,"title":"Custom Lambda Function Not updating.","user":{"login":"rajababu3","id":18049545,"node_id":"MDQ6VXNlcjE4MDQ5NTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/18049545?v=4","gravatar_id":"","url":"https://api.github.com/users/rajababu3","html_url":"https://github.com/rajababu3","followers_url":"https://api.github.com/users/rajababu3/followers","following_url":"https://api.github.com/users/rajababu3/following{/other_user}","gists_url":"https://api.github.com/users/rajababu3/gists{/gist_id}","starred_url":"https://api.github.com/users/rajababu3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajababu3/subscriptions","organizations_url":"https://api.github.com/users/rajababu3/orgs","repos_url":"https://api.github.com/users/rajababu3/repos","events_url":"https://api.github.com/users/rajababu3/events{/privacy}","received_events_url":"https://api.github.com/users/rajababu3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-10T11:12:10Z","updated_at":"2018-09-11T04:47:42Z","closed_at":null,"author_association":"NONE","body":"I uploaded Lambda to S3 like this \r\n\r\n> Lambda requires a specific format for code it executes - it must be inside a zip file with only the contents of the lambdaresolver directory, not a zip of the lambdaresolver directory.\r\n\r\nWhen I update my lambda function **index.js** file with new table is is not fetched by cloudformation stack change set.\r\n\r\nWhat will be the possible solution to this?"},"comment":{"url":"https://api.github.com/repos/aws-samples/aws-appsync-rds-aurora-sample/issues/comments/420145521","html_url":"https://github.com/aws-samples/aws-appsync-rds-aurora-sample/issues/6#issuecomment-420145521","issue_url":"https://api.github.com/repos/aws-samples/aws-appsync-rds-aurora-sample/issues/6","id":420145521,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDE0NTUyMQ==","user":{"login":"rajababu3","id":18049545,"node_id":"MDQ6VXNlcjE4MDQ5NTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/18049545?v=4","gravatar_id":"","url":"https://api.github.com/users/rajababu3","html_url":"https://github.com/rajababu3","followers_url":"https://api.github.com/users/rajababu3/followers","following_url":"https://api.github.com/users/rajababu3/following{/other_user}","gists_url":"https://api.github.com/users/rajababu3/gists{/gist_id}","starred_url":"https://api.github.com/users/rajababu3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajababu3/subscriptions","organizations_url":"https://api.github.com/users/rajababu3/orgs","repos_url":"https://api.github.com/users/rajababu3/repos","events_url":"https://api.github.com/users/rajababu3/events{/privacy}","received_events_url":"https://api.github.com/users/rajababu3/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T04:47:42Z","updated_at":"2018-09-11T04:47:42Z","author_association":"NONE","body":"Thank you for the response.\r\nBelow is the cloudformation definition for  Lambda function\r\n`  AppSyncRDSLambda:\r\n    Type: \"AWS::Lambda::Function\"\r\n    Properties:\r\n      Role: !GetAtt AppSyncRDSLambdaExecutionRole.Arn\r\n      Code:\r\n        S3Bucket: customlambda-ttl-works\r\n        S3Key: Archive 2.zip\r\n      Handler: index.handler\r\n      MemorySize: 256\r\n      Runtime: \"nodejs8.10\"\r\n      Timeout: \"60\"\r\n      ReservedConcurrentExecutions: 100\r\n      Tags:\r\n        - Key: AWSAppSyncCreatedResource\r\n          Value:\r\n            Fn::Sub:\r\n              - \"CloudFormation Stack ${StackName}\"\r\n              - StackName: !Ref \"AWS::StackName\"\r\n      Environment:\r\n        Variables:\r\n          USERNAME: !Sub ${RDSUsername}\r\n          PASSWORD: !Sub ${RDSPassword}\r\n          ENDPOINT: !GetAtt AppSyncRDSCluster.Endpoint.Address\r\n          DBNAME: !Sub ${RDSDBName}\r\n      VpcConfig:\r\n        SecurityGroupIds:\r\n          - !GetAtt AppSyncRDSVPC.DefaultSecurityGroup\r\n        SubnetIds:\r\n          - !Ref AppSyncRDSSubnetPrivateA\r\n          - !Ref AppSyncRDSSubnetPrivateB`\r\n\r\n\r\nIt is invoking when I change S3Key Name whenever I make changes to it. "}}
{"actor":{"display_login":"rajababu3"}}