-
Notifications
You must be signed in to change notification settings - Fork 129
/
Copy pathtile.yml
90 lines (90 loc) · 3.29 KB
/
tile.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
name: aws-service-broker
icon_file: resources/sb.png
label: AWS Service Broker
description: The AWS Service Broker is an open source project which allows native AWS services to be exposed directly through Cloud Foundry, and provides simple integration of AWS Services directly within the application platform.
packages:
- name: aws_sb
type: app-broker
label: AWS Service Broker
manifest:
path: resources/cfnsb
buildpack: binary_buildpack
command: >
export PARAM_OVERRIDE_${BROKER_ID}_all_all_all_region=${AWS_DEFAULT_REGION} ;
export AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} ;
export AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} ;
export AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION} ;
./cfnsb
--logtostderr
--prescribeOverrides=${PRESCRIBE}
--v=${VERBOSITY}
--brokerId=${BROKER_ID}
--enableBasicAuth=true
--insecure=true
--port=${PORT}
--region=${AWS_DEFAULT_REGION}
--s3Bucket=${S3_BUCKET}
--s3Key=${S3_KEY}
--s3Region=${S3_REGION}
--tableName=${TABLE_NAME}
--templateFilter=${TEMPLATE_FILTER}
memory: 1024M
forms:
- name: aws_sb_properties
label: AWS Service Broker Configuration
description: Required configuration to run the AWS service broker
properties:
- name: broker_id
type: string
default: "awsservicebroker"
label: Broker ID
description: An ID to use for partitioning broker data in DynamoDb. if multiple brokers are used in the same AWS account, this value must be unique per broker
- name: aws_access_key_id
type: string
label: AWS Access Key ID
description: AWS IAM User Key ID to use, if left blank will attempt to use a role, if defined secret-key must also be defined
- name: aws_secret_access_key
type: secret
label: AWS Secret Access Key
description: AWS IAM User Secret Key to use, if left blank will attempt to use a role, if defined key-id must also be defined
- name: aws_default_region
type: string
label: AWS Region
default: us-east-1
description: AWS Region to deploy services into
- name: s3_bucket
type: string
label: Amazon S3 Bucket
default: awsservicebroker
description: S3 bucket containing service definititions
- name: s3_key
type: string
label: Amazon S3 Key Prefix
default: templates/latest
description: S3 key prefix to use when scanning for service definitions
- name: template_filter
type: string
label: Amazon S3 Key Suffix
default: -main.yaml
description: only process templates with the defined suffix.
- name: prescribe
type: boolean
label: Prescribe Global Overrides
default: true
description: parameters that are overridden globally will not be available in service plans
- name: s3_region
type: string
label: Amazon S3 Region
default: us-east-1
description: Region that S3 bucket resides in, if different from region to deploy resources into
- name: table_name
type: string
label: Amazon DynamoDB table name
default: awssb
description: DynamoDB table name where broker state is stored. Multiple brokers can use the same table, but must use distinct Broker ID's to prevent them from sharing state
- name: verbosity
type: integer
label: Log Verbosity
default: 5
description: log level for V logs