{"action":"created","issue":{"url":"https://api.github.com/repos/aws-samples/aws-net-guides/issues/2","repository_url":"https://api.github.com/repos/aws-samples/aws-net-guides","labels_url":"https://api.github.com/repos/aws-samples/aws-net-guides/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/aws-samples/aws-net-guides/issues/2/comments","events_url":"https://api.github.com/repos/aws-samples/aws-net-guides/issues/2/events","html_url":"https://github.com/aws-samples/aws-net-guides/issues/2","id":340700635,"node_id":"MDU6SXNzdWUzNDA3MDA2MzU=","number":2,"title":"AWS Lambda Serverless .Net Core +angular Cli - Forbidden Error","user":{"login":"IyyappanAmirthalingam","id":20252001,"node_id":"MDQ6VXNlcjIwMjUyMDAx","avatar_url":"https://avatars0.githubusercontent.com/u/20252001?v=4","gravatar_id":"","url":"https://api.github.com/users/IyyappanAmirthalingam","html_url":"https://github.com/IyyappanAmirthalingam","followers_url":"https://api.github.com/users/IyyappanAmirthalingam/followers","following_url":"https://api.github.com/users/IyyappanAmirthalingam/following{/other_user}","gists_url":"https://api.github.com/users/IyyappanAmirthalingam/gists{/gist_id}","starred_url":"https://api.github.com/users/IyyappanAmirthalingam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IyyappanAmirthalingam/subscriptions","organizations_url":"https://api.github.com/users/IyyappanAmirthalingam/orgs","repos_url":"https://api.github.com/users/IyyappanAmirthalingam/repos","events_url":"https://api.github.com/users/IyyappanAmirthalingam/events{/privacy}","received_events_url":"https://api.github.com/users/IyyappanAmirthalingam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kneekey23","id":8533749,"node_id":"MDQ6VXNlcjg1MzM3NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/8533749?v=4","gravatar_id":"","url":"https://api.github.com/users/kneekey23","html_url":"https://github.com/kneekey23","followers_url":"https://api.github.com/users/kneekey23/followers","following_url":"https://api.github.com/users/kneekey23/following{/other_user}","gists_url":"https://api.github.com/users/kneekey23/gists{/gist_id}","starred_url":"https://api.github.com/users/kneekey23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneekey23/subscriptions","organizations_url":"https://api.github.com/users/kneekey23/orgs","repos_url":"https://api.github.com/users/kneekey23/repos","events_url":"https://api.github.com/users/kneekey23/events{/privacy}","received_events_url":"https://api.github.com/users/kneekey23/received_events","type":"User","site_admin":false},"assignees":[{"login":"kneekey23","id":8533749,"node_id":"MDQ6VXNlcjg1MzM3NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/8533749?v=4","gravatar_id":"","url":"https://api.github.com/users/kneekey23","html_url":"https://github.com/kneekey23","followers_url":"https://api.github.com/users/kneekey23/followers","following_url":"https://api.github.com/users/kneekey23/following{/other_user}","gists_url":"https://api.github.com/users/kneekey23/gists{/gist_id}","starred_url":"https://api.github.com/users/kneekey23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneekey23/subscriptions","organizations_url":"https://api.github.com/users/kneekey23/orgs","repos_url":"https://api.github.com/users/kneekey23/repos","events_url":"https://api.github.com/users/kneekey23/events{/privacy}","received_events_url":"https://api.github.com/users/kneekey23/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-07-12T15:59:49Z","updated_at":"2018-07-13T04:38:15Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am trying to deploy .net core spa with angular cli in lambda serverless model. when I try to access the lambda URL it shows 403-Forbidden error.\r\n\r\n.Net core - 2.1\r\nAngular Cli - 6.0.0\r\n\r\nLambda URL as follows\r\nhttps://p1vu9hp2a8.execute-api.us-east-2.amazonaws.com/Prod \r\n\r\nKindly help me fix this issue.\r\n\r\nThanks\r\nIyyappan Amirthalingam"},"comment":{"url":"https://api.github.com/repos/aws-samples/aws-net-guides/issues/comments/404723304","html_url":"https://github.com/aws-samples/aws-net-guides/issues/2#issuecomment-404723304","issue_url":"https://api.github.com/repos/aws-samples/aws-net-guides/issues/2","id":404723304,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDcyMzMwNA==","user":{"login":"allenmichael","id":9440998,"node_id":"MDQ6VXNlcjk0NDA5OTg=","avatar_url":"https://avatars2.githubusercontent.com/u/9440998?v=4","gravatar_id":"","url":"https://api.github.com/users/allenmichael","html_url":"https://github.com/allenmichael","followers_url":"https://api.github.com/users/allenmichael/followers","following_url":"https://api.github.com/users/allenmichael/following{/other_user}","gists_url":"https://api.github.com/users/allenmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/allenmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenmichael/subscriptions","organizations_url":"https://api.github.com/users/allenmichael/orgs","repos_url":"https://api.github.com/users/allenmichael/repos","events_url":"https://api.github.com/users/allenmichael/events{/privacy}","received_events_url":"https://api.github.com/users/allenmichael/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T04:38:15Z","updated_at":"2018-07-13T04:38:15Z","author_association":"CONTRIBUTOR","body":"Hi @IyyappanAmirthalingam,\r\n\r\nCan you try adding `\"deployUrl\": \"./Prod\",` to the `apps` section of `.angular-cli.json`?\r\n\r\nIt should look like this:\r\n`.angular-cli.json\r\n```json\r\n{\r\n...\r\n\"apps\": [\r\n    { \r\n      ...\r\n      \"deployUrl\": \"./Prod\",\r\n      ...\r\n    }\r\n  ]\r\n}\r\n`\r\n\r\nHave you considered deploying your Angular app to S3's static hosting and just using your .NET app as the API for the Angular app? You won't need to set these values if hosting your Angular app since S3 won't have an API stage (`/Prod` in this case) added to the URL."}}
{"actor":{"display_login":"allenmichael"}}