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

BigIP LTM Monitor - Incorrect name validation for path #967

Open
scu-cmoore1 opened this issue May 1, 2024 · 1 comment
Open

BigIP LTM Monitor - Incorrect name validation for path #967

scu-cmoore1 opened this issue May 1, 2024 · 1 comment
Labels
Backlog issue will be tracked by JIRA in backlog bug

Comments

@scu-cmoore1
Copy link

Environment

  • TMOS/Bigip Version: 16.1.4.1
  • Terraform Version: v1.8.1
  • Terraform bigip provider Version: v1.22.0

Summary

When creating a bigip_ltm_monitor, incorrect name field validation is performed, not allowing for a path to be specified. Example /Common/test/test_monitor

Steps To Reproduce

resource "bigip_ltm_monitor" "monitor" {
  name   = "/Common/test/test_monitor"
  parent = "/Common/HTTP"
}

This will throw an error claiming the name must match /Partition/Name.

Expected Behavior

The monitor is created with the specified partition and path, as can be done on the GUI.

Actual Behavior

An error is raised that the name doesn't match the expected validation.

│ Error: "name" must match /Partition/Name and contain letters, numbers or [._-:]. e.g. /Common/my-pool
│
│   with module.production.module.netbox.bigip_ltm_monitor.monitor,
│   on modules/production_https/main.tf line 14, in resource "bigip_ltm_monitor" "monitor":
│   14:   name   = "/Common/test/test_monitor"
@scu-cmoore1 scu-cmoore1 added the bug label May 1, 2024
@pgouband
Copy link
Collaborator

Hi,

Thanks for reporting. Added to the backlog and internal tracking ID for this request is: INFRAANO-1558.

@pgouband pgouband added the Backlog issue will be tracked by JIRA in backlog label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog issue will be tracked by JIRA in backlog bug
Projects
None yet
Development

No branches or pull requests

2 participants