-
Notifications
You must be signed in to change notification settings - Fork 134
/
resource_fastly_service_vcl_compute.go
55 lines (51 loc) · 2.03 KB
/
resource_fastly_service_vcl_compute.go
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
package fastly
import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
var computeAttributes = ServiceMetadata{
ServiceTypeCompute,
}
// Ordering is important - stored is processing order
// Some objects may need to be updated first, as they can be referenced by other
// configuration objects (Backends, Request Headers, etc).
var computeService = &BaseServiceDefinition{
Type: computeAttributes.serviceType,
Attributes: []ServiceAttributeDefinition{
NewServiceSettings(),
NewServiceDomain(computeAttributes),
NewServiceHealthCheck(computeAttributes),
NewServiceBackend(computeAttributes),
NewServiceDirector(computeAttributes),
NewServiceLoggingS3(computeAttributes),
NewServiceLoggingPaperTrail(computeAttributes),
NewServiceLoggingSumologic(computeAttributes),
NewServiceLoggingGCS(computeAttributes),
NewServiceLoggingBigQuery(computeAttributes),
NewServiceLoggingSyslog(computeAttributes),
NewServiceLoggingLogentries(computeAttributes),
NewServiceLoggingSplunk(computeAttributes),
NewServiceLoggingBlobStorage(computeAttributes),
NewServiceLoggingHTTPS(computeAttributes),
NewServiceLoggingElasticSearch(computeAttributes),
NewServiceLoggingFTP(computeAttributes),
NewServiceLoggingSFTP(computeAttributes),
NewServiceLoggingDatadog(computeAttributes),
NewServiceLoggingLoggly(computeAttributes),
NewServiceLoggingGooglePubSub(computeAttributes),
NewServiceLoggingScalyr(computeAttributes),
NewServiceLoggingNewRelic(computeAttributes),
NewServiceLoggingKafka(computeAttributes),
NewServiceLoggingHeroku(computeAttributes),
NewServiceLoggingHoneycomb(computeAttributes),
NewServiceLoggingLogshuttle(computeAttributes),
NewServiceLoggingOpenstack(computeAttributes),
NewServiceLoggingDigitalOcean(computeAttributes),
NewServiceLoggingCloudfiles(computeAttributes),
NewServiceLoggingKinesis(computeAttributes),
NewServiceDictionary(computeAttributes),
NewServicePackage(computeAttributes),
},
}
func resourceServiceCompute() *schema.Resource {
return resourceService(computeService)
}