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

Failing to create external bigip_ltm_datagroup resource #1024

Open
LuisPiedra opened this issue Oct 15, 2024 · 1 comment
Open

Failing to create external bigip_ltm_datagroup resource #1024

LuisPiedra opened this issue Oct 15, 2024 · 1 comment
Labels
Backlog issue will be tracked by JIRA in backlog bug

Comments

@LuisPiedra
Copy link

Environment

  • TMOS/Bigip Version: 15.1.2
  • Terraform Version: 1.9.7
  • Terraform bigip provider Version: 1.22.4

Summary

After creating a bigip_ltm_datagroup resource with internal = false, the data group and corresponding data group file are created, but then the provider fails to retrieve it when querying data groups lists.

This is happening after https://github.com/F5Networks/terraform-provider-bigip/pull/821/files and working properly in versions prior to that change.

Steps To Reproduce

Steps to reproduce the behavior:

resource "local_file" "external" {
  content  = "foo := bar"
  filename = "foo.bar"
}

resource "bigip_ltm_datagroup" "external" {
  name     = "/Common/external-test"
  type     = "string"
  internal = false

  records_src = local_file.external.filename
}

Expected Behavior

The data group and data group file are created and properly included in the state file.

Actual Behavior

The data group and data group file are created, but not refreshed.

Error: Error retrieving Data Group List /Common/external-test: Object not found - /Common/external-test 
@LuisPiedra LuisPiedra added the bug label Oct 15, 2024
@pgouband
Copy link
Collaborator

Hi,

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

@pgouband pgouband added the Backlog issue will be tracked by JIRA in backlog label Oct 22, 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