Skip to content

Commit

Permalink
test: Add depends_on (snmp_test)
Browse files Browse the repository at this point in the history
Error: POST 'https://127.0.0.1/rest/snmp/set' returned response code: 400,message: 'Bad Request', details: 'input does not match any value of trap-community'
  • Loading branch information
vaerh committed Oct 3, 2023
1 parent f3a13ad commit 416cf2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routeros/resource_snmp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ resource "routeros_snmp" "test" {
trap_community = "private"
trap_generators = "start-trap"
trap_version = 3
depends_on = [routeros_snmp_community.test]
}`,
`
resource "routeros_snmp" "test" {
Expand Down

0 comments on commit 416cf2c

Please sign in to comment.