-
Nice to meet you However, follow the steps, and the "Connect AWS IoT Core" in "3.Connect IoT Sitewise" $ sudo . /start.sh the following error message is displayed. Traceback (most recent call last):
I would like to know the solution. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You probably did not add the proper permissions that allows you to connect and use the required resources. If this is the guide that you are following make sure to follow step 1 where you add the Role JSON: {
"Version": "2012-10-17",
"Statement":[
{
"Sid": "",
"Effect": "Allow",
"Principal": {
"Service": [
"iottwinmaker.amazonaws.com"
]
},
"Action": "sts:AssumeRole"
}
]
} Policy JSON: {
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"iottwinmaker:*",
"s3:*",
"iotsitewise:*",
"kinesisvideo:*"
],
"Resource": [
"*"
],
"Effect": "Allow"
},
{
"Action": [
"lambda:invokeFunction"
],
"Resource": [
"*"
],
"Effect": "Allow"
},
{
"Condition": {
"StringEquals": {
"iam:PassedToService": "lambda.amazonaws.com"
}
},
"Action": [
"iam:PassRole"
],
"Resource": [
"*"
],
"Effect": "Allow"
}
]
} You can also check out the FAQ and AWS Docs for more info about this. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
You probably did not add the proper permissions that allows you to connect and use the required resources. If this is the guide that you are following make sure to follow step 1 where you add the
Role
andPolicy
:Role JSON:
Policy JSON: