Trying to execute the following command. It isn't showing anything
ubuntu@ip-172-31-25-55:~/aws$ npx cdk -a 'node dist/cdk/cloudformation-sourcecode.js' deploy
Trying to execute the following command. It isn't showing anything
ubuntu@ip-172-31-25-55:~/aws$ npx cdk -a 'node dist/cdk/cloudformation-sourcecode.js' deploy
Hei,
this could be because the AWS credentials are missing, could you double check that you are authenticated, e.g. by running
aws sts get-caller-identity
If you are I need a little bit more information about your environment:
Thanks,
~Markus
Thanks
I tried different types. It says Unknown data type.
ubuntu@ip-172-31-25-55:~$ aws configure AWS Access Key ID [****************X6F6]: AWS Secret Access Key [****************ZIdw]: Default region name [us-east-1]: Default output format [JSON]: ubuntu@ip-172-31-25-55:~$ aws sts get-caller-identity Unknown output type: JSON ubuntu@ip-172-31-25-55:~$ aws configure AWS Access Key ID [****************X6F6]: AWS Secret Access Key [****************ZIdw]: Default region name [us-east-1]: Default output format [JSON]: None ubuntu@ip-172-31-25-55:~$ aws sts get-caller-identity Unknown output type: None ubuntu@ip-172-31-25-55:~$ aws configure AWS Access Key ID [****************X6F6]: AWS Secret Access Key [****************ZIdw]: Default region name [us-east-1]: Default output format [None]: PHP ubuntu@ip-172-31-25-55:~$ aws sts get-caller-identity Unknown output type: PHP ubuntu@ip-172-31-25-55:~$ aws configure AWS Access Key ID [****************X6F6]: AWS Secret Access Key [****************ZIdw]: Default region name [us-east-1]: Default output format [PHP]: .php ubuntu@ip-172-31-25-55:~$ aws sts get-caller-identity Unknown output type: .php ubuntu@ip-172-31-25-55:~$ aws configure AWS Access Key ID [****************X6F6]: AWS Secret Access Key [****************ZIdw]: Default region name [us-east-1]: Default output format [.php]: .ts ubuntu@ip-172-31-25-55:~$ aws sts get-caller-identity
Hey Markus,
I got the Userid, Account, Arn by executing the command. Could you please let me know the next steps?
Output format is one of:
Please follow the configuration instructions here (using .envrc), then `npx cdk ...` should work.
nRF Asset Tracker for AWS depends on these environment variables to be defined:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION
AWS_REGION
I got the Userid, Account, Arn by executing the aws sts get-caller-identity. Can you please let me know what I need to do next with the steps
I got the Userid, Account, Arn by executing the aws sts get-caller-identity. Can you please let me know what I need to do next with the steps