f5devcentral / terraform-provider-bigip-old

This Repo is Deprecated please refer to https://github.com/terraform-providers/terraform-provider-bigip Provider is Published !
Mozilla Public License 2.0
32 stars 15 forks source link

Error Creating a Policy Rule to simply add a header #118

Closed danterossi closed 1 year ago

danterossi commented 6 years ago

I'm getting errors when trying to simply create a rule that adds a header to the request. The only examples I've found for terraform policy rules is to forward traffic to a pool.

Ex:


  name = "test-policy"
  strategy = "all-match"
  requires = ["http"]
  published_copy = "Drafts/test-policy"
  controls = [""]
  rule  {
    name = "test-rule"
    action = {
      insert = true
      http_header = true
      key = "foo"
      value = "bar"
    }
  }
}
danterossi commented 6 years ago

Resulting error is:

`Error: Error applying plan:

1 error(s) occurred:

dannyk81 commented 6 years ago

@danterossi this seems related to https://github.com/f5devcentral/terraform-provider-bigip/issues/112

The policy resource, unfortunately, seems broken in current state 😞

@scshitole have you had any luck figuring out the root cause? looks like there are many configuration scenarios which fail for this resource.

danterossi commented 6 years ago

@dannyk81 thanks for the info

adam-f5 commented 1 year ago

Repository Archived