-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmtp.yml
126 lines (125 loc) · 3.67 KB
/
smtp.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
version: 1
name: datagov-smtp
id: b90ace67-954b-4b33-8f84-95cacc55b94c
description: SMTP service provided by Amazon Simple Email Service (SES)
display_name: SMTP (using AWS SES)
image_url: https://www.pikpng.com/pngl/m/107-1078218_aws-ses-logo-png-transparent-ses-aws-clipart.png
documentation_url: https://aws.amazon.com/ses/
support_url: https://github.com/GSA/datagov-brokerpak
tags: [aws, ses, preview]
plan_updateable: true
plans:
- name: base
id: dc109a6e-c4a8-4fbb-8c49-acf9740ab819
description: 'Provision SMTP credentials to use for sending transactional mail from your application'
display_name: Send-only service
properties:
provision:
plan_inputs:
user_inputs:
- field_name: region
type: string
details: The region of the SES service.
default: ${config("aws.default_region")}
enum:
us-east-2 : us-east-2
us-east-1 : us-east-1
us-west-1 : us-west-1
us-west-2 : us-west-2
ap-east-1 : ap-east-1
ap-south-1 : ap-south-1
ap-northeast-3 : ap-northeast-3
ap-northeast-2 : ap-northeast-2
ap-southeast-1 : ap-southeast-1
ap-southeast-2 : ap-southeast-2
ap-northeast-1 : ap-northeast-1
ca-central-1 : ca-central-1
cn-north-1 : cn-north-1
cn-northwest-1 : cn-northwest-1
eu-central-1 : eu-central-1
eu-west-1 : eu-west-1
eu-west-2 : eu-west-2
eu-west-3 : eu-west-3
eu-north-1 : eu-north-1
me-south-1 : me-south-1
sa-east-1 : sa-east-1
- field_name: domain
type: string
details: Domain to send mail from
default: ""
computed_inputs:
- name: default_domain
overwrite: true
type: string
default: ${config("aws.zone")}
- name: labels
default: ${json.marshal(request.default_labels)}
overwrite: true
type: object
- name: instance_name
required: true
type: string
default: ${request.instance_id}
template_refs:
main: terraform/provision/main.tf
outputs: terraform/provision/outputs.tf
provider: terraform/provision/provider.tf
variables: terraform/provision/variables.tf
verification: terraform/provision/verification.tf
outputs:
- field_name: region
type: string
details: AWS region for the SES instance
- field_name: dkim_records
type: object
details: If a domain was supplied DKIM records to be created
- field_name: verification_record
type: object
details: If a domain was supplied, TXT record to be created
- field_name: instructions
type: string
details: Any further steps are needed before using the service.
- field_name: domain_arn
type: string
details: Instance SES domain identity (used when creating bindings)
bind:
plan_inputs: []
user_inputs:
computed_inputs:
- name: region
default: ${instance.details["region"]}
overwrite: true
type: string
- name: domain_arn
default: ${instance.details["domain_arn"]}
overwrite: true
type: string
- name: user_name
default: csb-${instance.name}-${request.binding_id}
overwrite: true
type: string
- name: instance_name
default: ${instance.name}
overwrite: true
type: string
template_refs:
main: terraform/bind/main.tf
outputs: terraform/bind/outputs.tf
provider: terraform/bind/provider.tf
variables: terraform/bind/variables.tf
outputs:
- field_name: smtp_server
type: string
details: SMTP server
- field_name: smtp_user
type: string
details: SMTP user
- field_name: smtp_password
type: string
details: SMTP password
examples:
- name: smtp
description: SMTP base
plan_id: dc109a6e-c4a8-4fbb-8c49-acf9740ab819
provision_params: {}
bind_params: {}