terraform-provider-bigip
terraform-provider-bigip copied to clipboard
Failing to create external bigip_ltm_datagroup resource
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