Skip to content

Commit

Permalink
service test group assignments example
Browse files Browse the repository at this point in the history
  • Loading branch information
cliftonHPE committed Nov 27, 2024
1 parent b5d5a84 commit 2b64869
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/data-sources/service_test_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/service_test_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 a service test group assignment
data "uxi_service_test_group_assignment" "my_service_test_group_assignment" {
filter = {
id = "<my_service_test_group_assignment_id>"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Import service test group assignment using its ID
terraform import uxi_service_test_group_assignment.my_service_test_group_assignment <my_service_test_group_assignment_id>

# Import service test group assignment using its ID with an import block
import {
to = uxi_service_test_group_assignment.my_service_test_group_assignment
id = "<my_service_test_group_assignment_id>"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
resource "uxi_service_test_group_assignment" "my_service_test_group_assignment" {
service_test_id = uxi_service_test.my_service_test.id
group_id = uxi_group.my_group.id
}

0 comments on commit 2b64869

Please sign in to comment.