generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 41
/
data_source_iacm_default_pipeline.go
47 lines (43 loc) · 1.24 KB
/
data_source_iacm_default_pipeline.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
package iacm
import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
func DataSourceIacmDefaultPipeline() *schema.Resource {
resource := &schema.Resource{
Description: "Data source for retrieving IACM default pipelines.",
ReadContext: resourceIacmDefaultPipelineRead,
Schema: map[string]*schema.Schema{
"org_id": {
Description: "Organization identifier of the organization the default pipelines resides in.",
Type: schema.TypeString,
Required: true,
ForceNew: true,
},
"project_id": {
Description: "Project identifier of the project the default pipelines resides in.",
Type: schema.TypeString,
Required: true,
ForceNew: true,
},
"provisioner_type": {
Description: "The provisioner associated with this default.",
Type: schema.TypeString,
Required: true,
ForceNew: false,
},
"operation": {
Description: "The operation associated with this default.",
Type: schema.TypeString,
Required: true,
ForceNew: false,
},
"pipeline": {
Description: "The pipeline associated with this default.",
Type: schema.TypeString,
Computed: true,
ForceNew: false,
},
},
}
return resource
}