-
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.
service test group assignments example
- Loading branch information
1 parent
b5d5a84
commit 2b64869
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_service_test_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 a service test group assignment | ||
data "uxi_service_test_group_assignment" "my_service_test_group_assignment" { | ||
filter = { | ||
id = "<my_service_test_group_assignment_id>" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
examples/resources/uxi_service_test_group_assignment/import.sh
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 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>" | ||
} |
4 changes: 4 additions & 0 deletions
4
examples/resources/uxi_service_test_group_assignment/resource.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,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 | ||
} |