acorn-io / mongodb-atlas

0 stars 2 forks source link

Alter the order of the atlas params when prompted for creation . #10

Closed sangee2004 closed 10 months ago

sangee2004 commented 11 months ago

Steps to reproduce the problem:

  1. Deploy mongodb-atlas service
  2. When prompted for entering "Mongo Atlas credentials" notice that the order in which you are prompted for creds is a little confusing

    
    ## Mongo DB Atlas Setup Instructions                                        
    
    To use this service, you need to supply Mongo Atlas credentials. We will    
    need:                                                                       
    
    • Public key                                                                
    • Private key                                                               
    • Project ID                                                                
    
    You will need to log into Mongo Atlas or create a new account               
    https://www.mongodb.com/cloud/atlas/register to obtain these values.        
    
    To learn how to create an API Key on Mongo Atlas, please see:               
    https://www.mongodb.com/docs/atlas/configure-api-access/#invite-an-organization-
    api-key-to-a-project                                                        

? private_key **** ? project_id **** ? public_key *****


**Expected Behavior:**
Use  the same order as the text provided above:

• Public key
• Private key
• Project ID

cloudnautique commented 11 months ago

This must be a bug in runtime. The promptOrder is set to: promptOrder: ["public_key", "private_key", "project_id"]

sangee2004 commented 10 months ago

This issue is tracked in https://github.com/acorn-io/runtime/issues/2386