@@ -37,36 +37,45 @@ func (r *cloudProviderGCPResource) Metadata(_ context.Context, req resource.Meta
37
37
38
38
func (r * cloudProviderGCPResource ) Schema (_ context.Context , _ resource.SchemaRequest , resp * resource.SchemaResponse ) {
39
39
resp .Schema = schema.Schema {
40
+ MarkdownDescription : "Configure a GCP Cloud Provider integration with Workload Identity Federation" ,
40
41
Attributes : map [string ]schema.Attribute {
41
42
"id" : schema.StringAttribute {
42
43
Computed : true ,
43
44
PlanModifiers : []planmodifier.String {
44
45
stringplanmodifier .UseStateForUnknown (),
45
46
},
47
+ MarkdownDescription : "The ID of this resource" ,
46
48
},
47
49
"issuer_url" : schema.StringAttribute {
48
50
Computed : true ,
49
51
PlanModifiers : []planmodifier.String {
50
52
stringplanmodifier .UseStateForUnknown (),
51
53
},
54
+ MarkdownDescription : "The issuer URL that should be provided to set up the GCP Workload Identity Pool" ,
52
55
},
53
56
"name" : schema.StringAttribute {
54
- Required : true ,
57
+ Required : true ,
58
+ MarkdownDescription : "The name of this integration" ,
55
59
},
56
60
"team" : schema.StringAttribute {
57
- Required : true ,
61
+ Required : true ,
62
+ MarkdownDescription : "The ID of the owning Team" ,
58
63
},
59
64
"service_account_email" : schema.StringAttribute {
60
- Required : true ,
65
+ Required : true ,
66
+ MarkdownDescription : "GCP Service Account Email" ,
61
67
},
62
68
"project_number" : schema.Int64Attribute {
63
- Required : true ,
69
+ Required : true ,
70
+ MarkdownDescription : "GCP Project Number" ,
64
71
},
65
72
"workload_identity_pool_id" : schema.StringAttribute {
66
- Required : true ,
73
+ Required : true ,
74
+ MarkdownDescription : "GCP Workload Identity Pool ID" ,
67
75
},
68
76
"workload_identity_pool_provider_id" : schema.StringAttribute {
69
- Required : true ,
77
+ Required : true ,
78
+ MarkdownDescription : "GCP Workload Identity Pool Provider ID" ,
70
79
},
71
80
},
72
81
}
0 commit comments