github.com/grailbio/base@v0.0.11/grail/profile.go (about) 1 // Copyright 2019 GRAIL, Inc. All rights reserved. 2 // Use of this source code is governed by the Apache 2.0 3 // license that can be found in the LICENSE file. 4 5 package grail 6 7 // defaultProfile contains default configuration for use within GRAIL. 8 // TODO(marius): replace this with an account-based profile 9 const defaultProfile = ` 10 // Use the ticket provider for AWS credentials by default. 11 // Our default region is us-west-2. 12 param aws/ticket ( 13 region = "us-west-2" 14 path = "tickets/eng/dev/aws" 15 ) 16 17 instance aws aws/ticket 18 19 // Bigmachine defaults for GRAIL (eng/dev). 20 // This should eventually be replaced by profile auto loading. 21 param bigmachine/ec2system ( 22 aws = aws 23 instance-profile = "arn:aws:iam::619867110810:instance-profile/bigmachine" 24 security-group = "sg-7390e50c" 25 ) 26 27 param bigmachine/ec2tensorflow base = bigmachine/ec2system 28 29 `