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

Staging #23

Merged
merged 18 commits into from
Aug 6, 2016
Prev Previous commit
Next Next commit
config copying added
  • Loading branch information
andjelx committed Aug 5, 2016
commit 5cefa64d8b83fe6cac95e34bc9581f0011792ed9
3 changes: 3 additions & 0 deletions scripts/00-aws-ec2-configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ if [ -n "$XDCONFIG" ]; then
aws="echo -e \naws"
fi

# copy config on shared s3 storage
$aws s3 cp $XDCONFIG s3://xd-private/etc/config

$aws iam create-instance-profile --instance-profile-name xd-scraper
$aws iam add-role-to-instance-profile --instance-profile-name xd-scraper --role-name xd-scraper

Expand Down