Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Unable to add deivces to GG group using CLI Commands #21

Open
shintovincent opened this issue Apr 12, 2019 · 1 comment
Open

Unable to add deivces to GG group using CLI Commands #21

shintovincent opened this issue Apr 12, 2019 · 1 comment

Comments

@shintovincent
Copy link

These are the commands that I used to create a group:
gg_group_setup create-core --thing-name GGCore --config-file sampleconfig.json --region us-east-1 --cert-dir corecerts
gg_group_setup create-devices --thing-names '[device1, device2, device3]' --config-file sampleconfig.json --region us-east-1 --cert-dir devicecerts
Started greengrass daemon in the core
gg_group_setup create --group-type mock --config-file sampleconfig.json --region us-east-1
gg_group_setup deploy --config-file sampleconfig.json --region us-east-1

Deployment is successful but the group is created with a core and no devices. The things has been created in IoT but not attached to the group.

Is there any limitations while using the gg_group_setup CLI or is it possible only by writing a custom groupType using gg_group_setup as a library?

@abawchen
Copy link

abawchen commented Jun 10, 2019

@shintovincent
In this sample repo, only device named GGD_example will be added to group, that I think you have to modify the code accordingly.

ref: https://github.com/awslabs/aws-greengrass-group-setup/blob/master/gg_group_setup/mock_group.py#L33

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants