Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A tab character in the description attribute of resource "aviatrix_firewall_policy" causes apply to fail with a Error. #1376

Open
sysop255 opened this issue Aug 2, 2022 · 0 comments

Comments

@sysop255
Copy link

sysop255 commented Aug 2, 2022

Describe the problem

A tab character in the description attribute of resource "aviatrix_firewall_policy" causes apply to fail with a Error.

To Reproduce

create a aviatrix_firewall_policy with a description that contains a tab character

Expected behavior
terraform plan should fail and identify the cause.

Additional data / screenshots
Sample error;

"Terraform Execute": Error: rest API append_stateful_firewall_rules Post failed: Expected a JSON dictionary list string for policies
"Terraform Execute":
"Terraform Execute": on example.tf line 76, in resource "aviatrix_firewall_policy" "example_7":
"Terraform Execute": 76: resource "aviatrix_firewall_policy" "example_7" {

If applicable, add screenshots to help explain your problem.

Environment:

terraform {
  required_version = "0.13.6"
    required_providers {
    
     aviatrix = {
      source  = "aviatrixsystems/aviatrix"
      version = ">= 2.19.5"
    }

Current Version UserConnect-6.7.1186
UserConnect-6.7.1185
Kernel Version 5.4.0-1028-gcp

Additional context
apply failed with confusing error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant