-
Notifications
You must be signed in to change notification settings - Fork 19
/
configure-environment.sh
executable file
·42 lines (37 loc) · 1.04 KB
/
configure-environment.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
if [ -z "$AwsAccessKey" ]
then
echo "Please provide AwsAccessKey"
exit 1
fi
if [ -z "$AwsSecretKey" ]
then
echo "Please provide AwsSecretKey"
exit 1
fi
if [ -z "$AwsRegion" ]
then
echo "Please provide AwsRegion"
exit 1
fi
export AWS_ACCESS_KEY_ID=$AwsAccessKey
export AWS_SECRET_ACCESS_KEY=$AwsSecretKey
export AWS_DEFAULT_REGION=$AwsRegion
export AwsQueueAutomaticallyCreate=false
export AwsQueueIsFifo=false
export AwsQueueLongPollTimeSeconds=20
export AwsQueueName=aws-examples-sqs-queue
export roleName=aws-examples-admin-role
export policyName=AdministratorAccess
export actorsLambda=ActorsLambdaFunction
export moviesLambda=MoviesLambdaFunction
export clusterName=aws-examples-csharp
export securityGroup=$clusterName
export sqsReaderProjectName=SqsReader
export sqsReaderPort=5200
export sqsReaderRepository=aws.examples.csharp.sqs.reader
export sqsWriterProjectName=SqsWriter
export sqsWriterRepository=aws.examples.csharp.sqs.writer
export sqsWriterPort=5100
export actorsTable=Actors
export moviesTable=Movies
export entriesTable=LogEntries