Skip to content

Commit 86924a4

Browse files
authored
🧹 require gcp integration name (#80)
1 parent e3170be commit 86924a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎docs/resources/integration_gcp.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ resource "mondoo_integration_gcp" "name" {
8686
### Required
8787

8888
- `credentials` (Attributes) (see [below for nested schema](#nestedatt--credentials))
89+
- `name` (String) Name of the integration.
8990
- `space_id` (String) Mondoo Space Identifier.
9091

9192
### Optional
9293

93-
- `name` (String) Name of the integration.
9494
- `project_id` (String) GCP project id
9595

9696
### Read-Only

‎internal/provider/integration_gcp_resource.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (r *integrationGcpResource) Schema(ctx context.Context, req resource.Schema
6464
},
6565
"name": schema.StringAttribute{
6666
MarkdownDescription: "Name of the integration.",
67-
Optional: true,
67+
Required: true,
6868
},
6969
"project_id": schema.StringAttribute{
7070
MarkdownDescription: "GCP project id",

0 commit comments

Comments
 (0)