microchip-pic-avr-solutions / microchip-iot-developer-guides-for-aws

Microchip IoT Developer Guides for AWS is a set of tutorials tailored to get started with your IoT Design, from embedded to cloud. Starting with the sandbox, you can play around with sending and receiving data to the cloud with almost no setup.
34 stars 6 forks source link

Problem connecting PIC-IoT WG to personal AWS #14

Open 60rw311 opened 1 year ago

60rw311 commented 1 year ago

I have followed all the instructions given in the page and when it's time to enter the following instruction in windows:

.\iotprovision-bin.exe -c aws -m mar --force

An error happens and that is what I see in the terminal:

usage: iotprovision-bin.exe [-h] -c {google,aws,azure} [-m {sandbox,custom,jitr,mar}] [-a AWS_PROFILE] [-P PORT]
                            [--fca] [--fdev] [--faws] [--fwinc] [--sprov] [--org ORGANIZATION_NAME]
                            [--rcn ROOT_COMMON_NAME] [--scn SIGNER_COMMON_NAME]
                            [--irc INSTALL_ROOT_CERTS | --rrc {backup,factory}] [--ssid WIFI_SSID] [--psk WIFI_PSK]
                            [--auth {open,wpa-psk,wep,ieee802.1x}] [-s SERIALNUMBER] [--verify]
                            [-v {debug,info,warning,error,critical}] [-V] [-R]
                            [{account,debuggerupgrade,wincupgrade,rootcerts,certs,provision,application,} ...]
iotprovision-bin.exe: error: ambiguous option: --force could match --force-ca-certs, --force-device-certs, --force-aws-cloudformation, --force-wincupgrade
jhonSalazar commented 1 year ago

@60rw311 I don't know how to solve it, but I ran --force-ca-certs and it works!