@htdvisser , looks like i am not quite as far ahead as i had hoped.
When we followed the instructions for the deployment guide on the AWS IOT doc we received hundreds of error messages about IAM permissions issues.
https://enterprise.thethingsstack.io/integrations/aws-iot/default/deployment-guide/
As the cloud formation template was created when running version 3.8 of the server so i decided to delete it and start fresh. However since the upgrade to 3.9.1 we are unable to run the cloud formation template for the AWS IOT integration and keep getting the following error messages
2020-09-14 22:26:22 UTC+0100 Bosch-Parking-Sensor-IOT-Stack
ROLLBACK_IN_PROGRESS The following resource(s) failed to create: [ClaimThingFunctionServiceRoleDefaultPolicy7A5A6E1A, CreateThingTypeFunctionServiceRoleDefaultPolicy846D9B20, HandleDownlinkFunctionServiceRoleDefaultPolicy2B9D6C77, CreateThingRule, DeleteThingRule, Configuration, HandleUplinkFunctionServiceRoleDefaultPolicyF1A0596C]. . Rollback requested by user.
2020-09-14 22:26:21 UTC+0100 DeleteThingRule
CREATE_FAILED Resource creation cancelled
2020-09-14 22:26:21 UTC+0100 HandleUplinkFunctionServiceRoleDefaultPolicyF1A0596C
CREATE_FAILED Resource creation cancelled
2020-09-14 22:26:21 UTC+0100 HandleDownlinkFunctionServiceRoleDefaultPolicy2B9D6C77
CREATE_FAILED Resource creation cancelled
2020-09-14 22:26:21 UTC+0100 CreateThingTypeFunctionServiceRoleDefaultPolicy846D9B20
CREATE_FAILED Resource creation cancelled
2020-09-14 22:26:21 UTC+0100 CreateThingRule
CREATE_FAILED Resource creation cancelled
2020-09-14 22:26:21 UTC+0100 ClaimThingFunctionServiceRoleDefaultPolicy7A5A6E1A
CREATE_FAILED Resource creation cancelled
2020-09-14 22:26:20 UTC+0100 Configuration
CREATE_FAILED Failed to create resource. Enable AWS IoT pub/sub integration: rpc error: code = PermissionDenied desc = error:pkg/auth/rights:insufficient_application_rights (insufficient rights for application bosch-parking-sensor@things-enterprise-stack-srv
)
The template then roll’s back… do you have any idea’s.
I have tried both self hosted and cloud hosted templates although as we are hosting everything at AWS i’m sure the cloud hosted template is the correct one.