generated from hashicorp/terraform-provider-scaffolding-framework
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
725 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "crowdstrike_host_group Resource - crowdstrike" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# crowdstrike_host_group (Resource) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
terraform { | ||
required_providers { | ||
crowdstrike = { | ||
source = "registry.terraform.io/crowdstrike/crowdstrike" | ||
} | ||
} | ||
} | ||
provider "crowdstrike" { | ||
cloud = "us-2" | ||
} | ||
resource "crowdstrike_host_group" "test" { | ||
name = "example_host_group" | ||
description = "made with terraform" | ||
type = "dynamic" | ||
assignment_rule = "tags:'SensorGroupingTags/cloud-lab'+os_version:'Amazon Linux 2'" | ||
} | ||
output "host_group" { | ||
value = crowdstrike_host_group.test | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) Host Group name | ||
- `type` (String) The Host Group type, case sensitive (dynamic, static, staticByID) | ||
|
||
### Optional | ||
|
||
- `assignment_rule` (String) The assignment rule for dynamic host groups | ||
- `description` (String) Host Group description | ||
|
||
### Read-Only | ||
|
||
- `id` (String) Host Group id | ||
- `last_updated` (String) | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
# Sensor update policies can be imported by specifying the policy id. | ||
terraform import crowdstrike_host_group.example 7fb858a949034a0cbca175f660f1e769 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Sensor update policies can be imported by specifying the policy id. | ||
terraform import crowdstrike_host_group.example 7fb858a949034a0cbca175f660f1e769 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
terraform { | ||
required_providers { | ||
crowdstrike = { | ||
source = "registry.terraform.io/crowdstrike/crowdstrike" | ||
} | ||
} | ||
} | ||
|
||
provider "crowdstrike" { | ||
cloud = "us-2" | ||
} | ||
|
||
|
||
resource "crowdstrike_host_group" "test" { | ||
name = "example_host_group" | ||
description = "made with terraform" | ||
type = "dynamic" | ||
assignment_rule = "tags:'SensorGroupingTags/cloud-lab'+os_version:'Amazon Linux 2'" | ||
} | ||
|
||
output "host_group" { | ||
value = crowdstrike_host_group.test | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.