diff options
author | Nick White <git@njw.name> | 2020-04-07 11:32:25 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-04-07 11:32:25 +0100 |
commit | 22200755d471e77d20f490ffe01ede884b5acfcb (patch) | |
tree | 8a81ef1ddcd8d8256db4c7a5f405b0a354ffc8bb /cloudsettings.go | |
parent | cb126a80cfa8502a582ee651f9e45c3b0d6f79f7 (diff) |
Separate out cloud settings into a separate file; cloudsettings.go
Diffstat (limited to 'cloudsettings.go')
-rw-r--r-- | cloudsettings.go | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cloudsettings.go b/cloudsettings.go new file mode 100644 index 0000000..d627342 --- /dev/null +++ b/cloudsettings.go @@ -0,0 +1,30 @@ +// Copyright 2020 Nick White. +// Use of this source code is governed by the GPLv3 +// license that can be found in the LICENSE file. + +package bookpipeline + +// This file contains various cloud account specific stuff; change this if +// you want to use the cloud functionality on your own site. + +// Spot instance details +const ( + spotProfile = "arn:aws:iam::557852942063:instance-profile/pipeliner" + spotImage = "ami-0bc6ef6900f6da5d3" + spotType = "m5.large" + spotSg = "sg-0be8a3ab89e7136b9" +) + +// Queue names +const ( + queuePreProc = "rescribepreprocess" + queueWipeOnly = "rescribewipeonly" + queueOcr = "rescribeocr" + queueOcrPage = "rescribeocrpage" + queueAnalyse = "rescribeanalyse" +) + +// Storage bucket names +const ( + storageWip = "rescribeinprogress" +) |