fortinetdev / terraform-provider-fortios

Terraform Fortios provider
https://www.terraform.io/docs/providers/fortios/
Mozilla Public License 2.0
68 stars 50 forks source link

Can this Terraform's module configure FortiWeb? #149

Closed Theerapong closed 3 years ago

Theerapong commented 3 years ago

I'd like to change configurations (switching traffic of network interface) of FortiWeb (WAF VM) by Terraform.

I'm not sure that can this Terraform's module (https://registry.terraform.io/providers/fortinetdev/fortios/latest) configure FortitWeb?

I launched FortiWeb on AWS temporality. Then, I used this command to see an access token. curl -k -v -X POST https://35.155.168.72:8443/api/fabric/authenticate -H 'Content-Type: application/json' -d '{"username":"admin", "password":"12345" }'

Then, I tried to use this .tf to configure FortiWeb -> https://github.com/Theerapong/Terraform-and-AWS-FortiWeb/blob/main/main.tf

Then, nothing happened.

Could I have some suggestion and/or example for these?

frankshen01 commented 3 years ago

Hi @Theerapong, thanks for the issue. The provider is only used for FortiGate and FortiManager, as described in https://registry.terraform.io/providers/fortinetdev/fortios/latest/docs#versioning. Regarding FortiWeb provider support, I suggest you contact the FortiWeb SE serving you, they can provide professional answers and their plans. Thanks!

Theerapong commented 3 years ago

Hi @Theerapong, thanks for the issue. The provider is only used for FortiGate and FortiManager, as described in https://registry.terraform.io/providers/fortinetdev/fortios/latest/docs#versioning. Regarding FortiWeb provider support, I suggest you contact the FortiWeb SE serving you, they can provide professional answers and their plans. Thanks!

@frankshen01 Thank you so much

frankshen01 commented 3 years ago

@Theerapong It's my pleasure. Thank you!