This package is a plugin for Terraform, and is designed to be used to auto-provision sites in Incapsula via Incapsula’s API from the terraform cli/yaml configurations.
Mozilla Public License 2.0
44
stars
72
forks
source link
Problem after "3.23.0" patch with ssl_settings #417
I want to manage incapsula_ssl_setting under subaccount, if user under account
Actual output
Terraform wants to create new resource of incapsula_ssl_settings. I think, it because user, from which I run terraform commands, at "superaccount" and sites that I want to manage at subaccounts, and I dont have opportunities to specify subaccount where site is located. Furthermore, I tested new API of imperva for ssl_settings and find out that API cant find site under subaccount, If user under "superaccount" - and at api you can specify account_id where site is located, but in provider you cant do it.
Confirmation
Terraform and Imperva provider version
I run terraform commands via CI/CD pipeline, below code of installing right version of provider
Initializing provider plugins...
Affected resource(s)
incapsula_ssl_settings
Terraform configuration files
Debug output
Panic output
No response
Expected output
I want to manage incapsula_ssl_setting under subaccount, if user under account
Actual output
Terraform wants to create new resource of incapsula_ssl_settings. I think, it because user, from which I run terraform commands, at "superaccount" and sites that I want to manage at subaccounts, and I don
t have opportunities to specify subaccount where site is located. Furthermore, I tested new API of imperva for ssl_settings and find out that API can
t find site under subaccount, If user under "superaccount" - and at api you can specify account_id where site is located, but in provider you cant do it.Steps to reproduce
Additional factoids
No response
References
No response