Skip to content

Commit 11750f8

Browse files
committed
update tests with new webhooks config
1 parent 6dc0ac5 commit 11750f8

File tree

1 file changed

+6
-9
lines changed
  • examples/public-repository-with-webhook

1 file changed

+6
-9
lines changed

examples/public-repository-with-webhook/main.tf

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,11 @@ module "repository" {
2222
name = var.name
2323

2424
webhooks = [{
25-
active = var.webhook_active
26-
events = var.webhook_events
27-
28-
configuration = {
29-
url = var.webhook_url
30-
content_type = var.webhook_content_type
31-
insecure_ssl = var.webhook_insecure_ssl
32-
secret = var.webhook_secret
33-
}
25+
active = var.webhook_active
26+
events = var.webhook_events
27+
url = var.webhook_url
28+
content_type = var.webhook_content_type
29+
insecure_ssl = var.webhook_insecure_ssl
30+
secret = var.webhook_secret
3431
}]
3532
}

0 commit comments

Comments
 (0)