Forum Discussion
Creating Policy using Terraform
I have been trying to create a policy onto my F5 device but keep getting conflicting errors:
This is my condition block:
condition {
http_cookie = true
case_sensitive = true
values = ["cookie_value"]
}
but i receive the error: operand 'http-cookie' selector 'all' is missing required parameter 'name'.
but when I add all and name it gives me the error that name does no belong there. I have tried a bunch of different things but cannot figure it out.
Can someone please help?
I think you need to raise PR here. F5 Agile Team will help you
https://github.com/F5Networks/terraform-provider-bigip/issues
- cheluscoAltostratus
I am not able to press New Issue, is there permissions I need first or someone I should contact?
Are you trying to create cookie profile via Terraform. It will be good if you can elobrate more.
- cheluscoAltostratus
I am trying to create an
bigip_ltm_policy with a condition block where it checks if the cookie value is present if it is then perform the action blocks
condition {
http_cookie = true
case_sensitive = true
values = ["cookie_value"]
}
- cheluscoAltostratus
my provider:
terraform {
required_providers {
bigip = {
source = "F5Networks/bigip"
version = ">= 1.0.0"
}
}
}
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com