Skip to content

Commit 8857a99

Browse files
Merge pull request #308 from wanghaoran1988/fix_issue
This change the installer custom region enhancement to align with the code
2 parents 1aca67e + cb823d4 commit 8857a99

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

enhancements/installer/aws-custom-region-and-endpoints.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The user can provide a list of API endpoints for various services.
8484
// ServiceEndpoint store the configuration of a url to
8585
// override existing defaults of AWS Services.
8686
type ServiceEndpoint struct {
87-
Service string `json:"service"`
87+
Name string `json:"name"`
8888

8989
// This must be a HTTPS URL
9090
URL string `json:"url"`
@@ -109,9 +109,9 @@ The yaml representation by the user would look like:
109109
platform:
110110
aws:
111111
serviceEndpoints:
112-
- service: ec2
112+
- name: ec2
113113
url: https://ec2.custom.url
114-
- service: s3
114+
- name: s3
115115
url: https://s3.custom.url
116116
```
117117
@@ -181,7 +181,7 @@ type AWSPlatformSpec struct {
181181
// override existing defaults of AWS Services.
182182
// Currently Supports - EC2, IAM, ELB, S3 and Route53.
183183
type AWSServiceEndpoint struct {
184-
Service string `json:"service"`
184+
Name string `json:"name"`
185185

186186
// This must be a HTTPS URL
187187
URL string `json:"url"`

0 commit comments

Comments
 (0)