You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey rdkis, tnx for share this awesome work. I'm testing your tool and I have problems to run it correctly.
I'm running "run.sh" to test it, but all time I recibe all data on 0, but I have one VPC, one subnet and One ec2 running
Only I modifyed AWS_SESSION_TOKEN variable, to get session token in the moment of deploy
I don't understand whats is wrong in my test
Tnx!
run.sh (modifyed)
#!/usr/bin/env bash
NEO4J_AUTH='neo4j/admin'
if [ -z "$AWS_SECRET_ACCESS_KEY" ] ; then
# Get from files
AWS_SECRET_ACCESS_KEY=`grep aws_secret_access_key ~/.aws/credentials | head -n1 | cut -d'=' -f 2 | sed 's/ //g'`
AWS_ACCESS_KEY_ID=`grep aws_access_key_id ~/.aws/credentials | head -n1 | cut -d'=' -f 2 | sed 's/ //g'`
AWS_SESSION_TOKEN=`aws sts get-session-token|grep SessionToken| head -n1 | cut -d':' -f 2 | sed 's/ //g;s/,//g'` # <----- THIS LINE WAS MODIFIED
AWS_SECURITY_TOKEN=`grep aws_security_token ~/.aws/credentials | head -n1 | cut -d'=' -f 2 | sed 's/ //g'` # <----- THIS LINE I DONT USE
AWS_REGION=`grep region ~/.aws/config | head -n1 | cut -d'=' -f 2 | sed 's/ //g'`
fi
docker rm -f neo4j_awless
docker pull rdkls/aws_infra_map_neo4j
echo "docker run -ti \
--name neo4j_awless \
--env AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
--env AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
--env AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN \
--env AWS_TO_NEO4J_LIMIT_REGION=$AWS_REGION \
--env NEO4J_AUTH=$NEO4J_AUTH \
-p 7474:7474 \
-p 7687:7687 \
rdkls/aws_infra_map_neo4j"
Hey rdkis, tnx for share this awesome work. I'm testing your tool and I have problems to run it correctly.
I'm running "run.sh" to test it, but all time I recibe all data on 0, but I have one VPC, one subnet and One ec2 running
Only I modifyed AWS_SESSION_TOKEN variable, to get session token in the moment of deploy
I don't understand whats is wrong in my test
Tnx!
run.sh (modifyed)
Output
The text was updated successfully, but these errors were encountered: