Skip to content

Commit

Permalink
chore: use upper case symbol and number in all test and example passw…
Browse files Browse the repository at this point in the history
…ords
  • Loading branch information
fbreckle committed Oct 11, 2024
1 parent 40246df commit ec7e614
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/resources/permission.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This resource manages the object-based permissions for Netbox users, built into
```terraform
resource "netbox_user" "test" {
username = "johndoe"
password = "abcdefghijkl"
password = "Abcdefghijkl1"
active = true
staff = true
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/token.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ From the [official documentation](https://docs.netbox.dev/en/stable/rest-api/aut
```terraform
resource "netbox_user" "test" {
username = "johndoe"
password = "abcdefghijkl"
password = "Abcdefghijkl1"
}
resource "netbox_token" "test_basic" {
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This resource is used to manage users.
```terraform
resource "netbox_user" "test" {
username = "johndoe"
password = "abcdefghijkl"
password = "Abcdefghijkl1"
active = true
staff = true
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/netbox_permission/resource.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "netbox_user" "test" {
username = "johndoe"
password = "abcdefghijkl"
password = "Abcdefghijkl1"
active = true
staff = true
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/netbox_token/resource.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "netbox_user" "test" {
username = "johndoe"
password = "abcdefghijkl"
password = "Abcdefghijkl1"
}

resource "netbox_token" "test_basic" {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/netbox_user/resource.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "netbox_user" "test" {
username = "johndoe"
password = "abcdefghijkl"
password = "Abcdefghijkl1"
active = true
staff = true
}
2 changes: 1 addition & 1 deletion netbox/resource_netbox_token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TestAccNetboxToken_basic(t *testing.T) {
Config: fmt.Sprintf(`
resource "netbox_user" "test" {
username = "%s"
password = "abcdefghijkl"
password = "Abcdefghijkl1"
}
resource "netbox_token" "test_basic" {
Expand Down
4 changes: 2 additions & 2 deletions netbox/resource_netbox_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestAccNetboxUser_basic(t *testing.T) {
Config: fmt.Sprintf(`
resource "netbox_user" "test_basic" {
username = "%s"
password = "abcdefghijkl1"
password = "Abcdefghijkl1"
active = true
staff = true
}`, testName),
Expand Down Expand Up @@ -56,7 +56,7 @@ resource "netbox_group" "test_group" {
resource "netbox_user" "test_group" {
username = "%[1]s"
password = "abcdefghijkl1"
password = "Abcdefghijkl1"
active = true
staff = true
group_ids = [netbox_group.test_group.id]
Expand Down

0 comments on commit ec7e614

Please sign in to comment.