This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Isn't showing anything when executing the following command

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

Parents Reply
  • 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
    
    

Children
Related