Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot retrieve individual parameters #78

Open
socketbox opened this issue Mar 5, 2024 · 1 comment
Open

Cannot retrieve individual parameters #78

socketbox opened this issue Mar 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@socketbox
Copy link
Contributor

[ RWEB-8083-no-more-memcached][  system][🅰 pbs-digi-preprod][RWEB-8083-no-more-memcached]
[2024-03-05 17:32:02]» gorson get --format json /STAGING/SVP/SVP_REDIS_DATABASE
{}
[ RWEB-8083-no-more-memcached][  system][🅰 pbs-digi-preprod][RWEB-8083-no-more-memcached]
[2024-03-05 17:34:32]» gorson get --format env /STAGING/SVP/SVP_REDIS_DATABASE

[ RWEB-8083-no-more-memcached][  system][🅰 pbs-digi-preprod][RWEB-8083-no-more-memcached]
[2024-03-05 17:34:35]» gorson get --format env /STAGING/SVP/SVP_REDIS_DATABASE > /tmp/foo
[ RWEB-8083-no-more-memcached][  system][🅰 pbs-digi-preprod][RWEB-8083-no-more-memcached]
[2024-03-05 17:34:45]» cat /tmp/foo
───────┬─────────────────────────────────────────────────────────────────────────────────────
       │ File: /tmp/foo
───────┼─────────────────────────────────────────────────────────────────────────────────────
   1   │ 
───────┴─────────────────────────────────────────────────────────────────────────────────────
[ RWEB-8083-no-more-memcached][  system][🅰 pbs-digi-preprod][RWEB-8083-no-more-memcached]
[2024-03-05 17:34:48]» gorson get --format env /STAGING/SVP/SVP_REDIS_DATABASE/ > /tmp/foo
[ RWEB-8083-no-more-memcached][  system][🅰 pbs-digi-preprod][RWEB-8083-no-more-memcached]
[2024-03-05 17:35:07]» cat /tmp/foo                                                       
───────┬─────────────────────────────────────────────────────────────────────────────────────
       │ File: /tmp/foo
───────┼─────────────────────────────────────────────────────────────────────────────────────
   1   │ 
───────┴─────────────────────────────────────────────────────────────────────────────────────
[ RWEB-8083-no-more-memcached][  system][🅰 pbs-digi-preprod][RWEB-8083-no-more-memcached]
[2024-03-05 17:35:29]» gorson get --format json /STAGING/SVP/SVP_REDIS_DATABASE/ > /tmp/foo
[ RWEB-8083-no-more-memcached][  system][🅰 pbs-digi-preprod][RWEB-8083-no-more-memcached]
[2024-03-05 17:35:31]» cat /tmp/foo                                                        
───────┬─────────────────────────────────────────────────────────────────────────────────────
       │ File: /tmp/foo
───────┼─────────────────────────────────────────────────────────────────────────────────────
   1   │ {}
   2   │ 
───────┴─────────────────────────────────────────────────────────────────────────────────────
[ RWEB-8083-no-more-memcached][  system][🅰 pbs-digi-preprod][RWEB-8083-no-more-memcached]
[2024-03-05 17:35:37]❮ gorson get --format json /STAGING/SVP/ > /tmp/foo   | wc -l 
84              
@socketbox
Copy link
Contributor Author

Should be easy to implement, given existing functionality in the API:

[2024-03-06 10:11:13]❮ aws ssm get-parameter --with-decryption --name /DEV/SVP/SVP_REDIS_DATABASE   
{                                                                                                   
    "Parameter": {                                                                                  
        "Name": "/DEV/SVP/SVP_REDIS_DATABASE",                                                      
        "Type": "SecureString",                                                                     
        "Value": "15",                                                                              
        "Version": 1,                                                                               
        "LastModifiedDate": "2021-09-17T16:56:47.244000+00:00",                                     
        "ARN": "arn:aws:ssm:us-east-1:242138130710:parameter/DEV/SVP/SVP_REDIS_DATABASE",           
        "DataType": "text"                                                                          
    }                                                                                               
}                                                                                                   

@socketbox socketbox added the enhancement New feature or request label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant