Skip to content

Commit

Permalink
Trimmed down example, added possibility to state API_KEY via a file
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellohausen committed Dec 19, 2018
1 parent 2ad8817 commit 5d26477
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
3 changes: 3 additions & 0 deletions examples/user-groups/base.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
provider "jumpcloud" {
api_key = "MY_API_KEY"
}
18 changes: 5 additions & 13 deletions examples/user-groups/main.tf
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
resource "jumpcloud_user_group" "language" {
name = "language"
attributes {}
}

resource "jumpcloud_user_group" "cars" {
name = "cars"
}
resource "jumpcloud_user_group" "example_resource" {
name = "Examplegroup"

resource "jumpcloud_user_group" "foo" {
name = "barz"
attributes {
posix_groups = "32:testerino"
}
attributes {
posix_groups = "32:test"
}
}

0 comments on commit 5d26477

Please sign in to comment.