-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
b5d5a84
commit c0d9e85
Showing
5 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
examples/data-sources/uxi_agent_group_assignment/data-source.tf
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,6 @@ | ||
# Retrieve data for an agent group assignment | ||
data "uxi_agent_group_assignment" "my_agent_group_assignment" { | ||
filter = { | ||
id = "<my_agent_group_assignment_id>" | ||
} | ||
} |
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,8 @@ | ||
# Import an agent group assignment using its ID | ||
terraform import uxi_agent_group_assignment.my_agent_group_assignment <my_agent_group_assignment_id> | ||
|
||
# Import an agent group assignment using its ID with an import block | ||
import { | ||
to = uxi_agent_group_assignment.my_agent_group_assignment | ||
id = "<my_agent_group_assignment_id>" | ||
} |
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,4 @@ | ||
resource "uxi_agent_group_assignment" "my_agent_group_assignment" { | ||
agent_id = uxi_agent.my_agent.id | ||
group_id = uxi_group.my_group.id | ||
} |