Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add uxi_agenc_group_assignment examples and generated docs #140

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docs/data-sources/agent_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions docs/resources/agent_group_assignment.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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>"
}
}
8 changes: 8 additions & 0 deletions examples/resources/uxi_agent_group_assignment/import.sh
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>"
}
4 changes: 4 additions & 0 deletions examples/resources/uxi_agent_group_assignment/resource.tf
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
}
Loading