-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The problems:
Incorrect AWS profile:
In the file test.sh
The code reads:
Line 3 in 6cfcb24
| -H "Authorization: Bearer $(aws --profile uneet-dev ssm get-parameters --names API_ACCESS_TOKEN --with-decryption --query Parameters[0].Value --output text)" \ |
This IS WRONG: we should NOT use uneet-dev here but the correct value based on
- Installation ID (AWS parameter
INSTALLATION_ID) - Stage (AWS parameter
STAGE)
The correct value for uneet-dev for a given environment is also declared in Travis Setting.
It is then passed on as the variable TRAVIS_PROFILE.
Problematic assumptions:
Line 7 in 6cfcb24
| "userId": "32", |
assumes that there is a user with userId = 32 in the installation <-- This might NOT be true.
Line 8 in 6cfcb24
| "userApiKey": "kwmJ6OT6tzEdmctCrT3uEt7kMnLEqlzckW4eaTvX" |
assumes that userApiKey for user 32 has a certain value in the installation <-- This might NOT be true.
Metadata
Metadata
Assignees
Labels
No labels