Closed ashokvaddevalli closed 2 weeks ago
Hi, yes, Amplify will deliver logs automatically so long as your app has an IAM role attached to it with the right permissions.
aws amplify update-app --app-id YOUR_APP_ID --iam-service-role-arn arn:aws:iam::YOUR_ACCOUNT_ID:role/YOUR_ROLE_NAME
Ensure that the role has the following trust policy that allows Amplify to assume it:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "amplify.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
and the role needs at least the following permissions:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogStream",
"logs:CreateLogGroup",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:*"
}
]
}
aws amplify start-job --app-id YOUR_APP_ID --branch-name YOUR_BRANCH_NAME --job-type RELEASE
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
Other
Which UI component?
Other
How is your app built?
Svelte
What browsers are you seeing the problem on?
No response
Which region are you seeing the problem in?
No response
Please describe your bug.
Enable SSR logs for existing Amplify App? We are missed to enable SSR logs during create app but we want enable now for existing App. But we didn't see any options in settings for enable SSR logs for existing App.
What's the expected behaviour?
Enable SSR logs for existing Amplify App? We are missed to enable SSR logs during create app but we want enable now for existing App. But we didn't see any options in settings for enable SSR logs for existing App.
Help us reproduce the bug!
Enable SSR logs for exiting Amplify App? We are missed to enable SSR logs during create app but we want enable now for existing App. But we didn't see any options in settings for enable SSR logs for existing App.
Code Snippet
Console log output
No response
Additional information and screenshots
No response