Skip to content

Commit

Permalink
Improve apiuser documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
frankshen01 committed Feb 10, 2021
1 parent 7e0c3bf commit 3f3e35b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 2 additions & 0 deletions website/docs/r/fmg_firewall_security_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ The following arguments are supported:
* `schedule` - (Required) Schedule name.
* `internet_service` - Enable/disable use of Destination Internet Services for this policy.
* `internet_service_id` - Destination Internet Service ID.
* `internet_service_name` - Destination Internet Service Name.
* `internet_service_src` - Enable/disable use of Source Internet Services for this policy.
* `internet_service_src_id` - Source Internet Service ID.
* `internet_service_src_name` - Source Internet Service Name.
* `users` - Names of individual users that can authenticate with this policy.
* `groups` - Names of user groups that can authenticate with this policy.
* `fsso` - Enable/disable Fortinet Single Sign-On.
Expand Down
15 changes: 8 additions & 7 deletions website/docs/r/fortios_system_apiuser.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,14 @@ This part provides a basic guideline to access FortiGate using terraform with a

```hcl
provider "fortios" {
hostname = "192.168.52.177"
insecure = "true"
token = "GNH7r40H65GNb46kd4rG8rtrmn0fr1"
peerauth = "enable"
clientcert = "client-cert.pem"
clientkey = "client-key.pem"
hostname = "myfirewall"
insecure = "false"
cabundlefile = "server.crt"
token = "GNH7r40H65GNb46kd4rG8rtrmn0fr1"
peerauth = "enable"
clientcert = "client-cert.pem"
clientkey = "client-key.pem"
}
resource "fortios_firewall_address" "trname" {
Expand Down

0 comments on commit 3f3e35b

Please sign in to comment.