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_profile_http removing fallback_host does not result in change. #1009

Open
markush81 opened this issue Aug 26, 2024 · 1 comment
Open
Labels
Backlog issue will be tracked by JIRA in backlog bug

Comments

@markush81
Copy link

markush81 commented Aug 26, 2024

Environment

  • TMOS/Bigip Version:

Sys::Version
Main Package
Product BIG-IP
Version 17.1.1.1
Build 0.0.2
Edition Point Release 1
Date Tue Nov 28 23:06:08 PST 2023

  • Terraform Version:

Terraform v1.9.3

  • Terraform bigip provider Version:

provider registry.terraform.io/f5networks/bigip v1.22.3

Summary

resource "bigip_ltm_profile_http" "http" {
  name                  = "/Common/xmp-http"
  defaults_from         = "/Common/http-transparent"
  insert_xforwarded_for = "enabled"
  fallback_host = "https://www.google.de"
}

Removing fallback_host results in

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Steps To Reproduce

  1. Resource
resource "bigip_ltm_profile_http" "http" {
  name                  = "/Common/xmp-http"
  defaults_from         = "/Common/http-transparent"
  fallback_host = "https://www.google.de"
}
  1. terraform apply
resource "bigip_ltm_profile_http" "http" {
  name                  = "/Common/xmp-http"
  defaults_from         = "/Common/http-transparent"
}
  1. terraform apply
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Expected Behavior

Change the configuration and remove fallback_host .

Actual Behavior

Doesn't change and therefore wrong resources definition, wrong state and wrong configuraiton.

Note: to me it seems a general issue in the whole provider, that comparing state, definition and real configuration is not really reliable.

@markush81 markush81 added the bug label Aug 26, 2024
@pgouband
Copy link
Collaborator

Hi,

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

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

3 participants
@markush81 @pgouband and others