terraform-provider-aviatrix
terraform-provider-aviatrix copied to clipboard
aviatrix_firewall_instace user_data type string but seems to expect json
Describe the problem
user_data does not work on GCP for CheckPoint/Fortinet.
To Reproduce
user_data type is string and when a string is used the following error is raised:
│ Error: failed to create a new firewall instance: rest API add_firewall_instance POST failed: invalid user data. Expecting value: line 1 column 1 (char 0) │ │ with aviatrix_firewall_instance.firewall_instance, │ on main.tf line 1, in resource "aviatrix_firewall_instance" "firewall_instance": │ 1: resource "aviatrix_firewall_instance" "firewall_instance" {
Expected behavior Controller works with key pair variables and correctly configure the data field under the instance.
Additional data / screenshots Include any relevant tf files.
Environment:
- Provider version: aviatrix_firewall_instance 3.1.1
- Terraform version Terraform v1.5.5
- Aviatrix Controller version 7.1.1906
Additional context What was the impact?
Add any other context about the problem here.