Skip to content

terraform hangs on "still creating..." loop while the resource is created on the BIG-IP #1051

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

Open
emze9 opened this issue Feb 20, 2025 · 2 comments

Comments

@emze9
Copy link

emze9 commented Feb 20, 2025

Environment

  • TMOS/Bigip Version: 17.1.1.2
  • Terraform Version: v1.10.1
  • Terraform bigip provider Version: v1.22.7

Summary

With some resources like bigip_as3 or bigip_pool or bigip_ltm_profile_http, I never received a downstream response resulting in a infinite loop of Still creating... The resource is however created on the BIG-IP.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Provide terraform resource config which you are facing trouble along with the output of it.
    main.tf
terraform {
  required_providers {
    bigip = {
      source = "F5Networks/bigip"
      version = "1.22.7"
    }
  }
  required_version = ">= 1.10"
}

provider "bigip" {
  address       = var.bigip_address
  username      = var.bigip_username
  password      = var.bigip_password
  token_timeout = var.bigip_token_timeout
  token_auth    = var.bigip_token_auth
}

resource "bigip_ltm_profile_http" "sanjose-http" {
  name                  = "/Common/sanjose-http"
  defaults_from         = "/Common/http"
}

terraform.tfvars

bigip_address  = redacted
bigip_username = "as3"
bigip_password = redacted
bigip_token_timeout = 86400
bigip_token_auth = false
  1. To get to know more about the issue, provide terraform debug logs
    output
2025-02-20T10:21:06.663Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Served request: @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:510 tf_proto_version=5.3 tf_provider_addr=provider tf_req_id=a5d1c113-4573-a021-6785-d87039eef475 @module=sdk.proto tf_rpc=GetProviderSchema timestamp=2025-02-20T10:21:06.663Z
2025-02-20T10:21:06.670Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/f5networks/bigip" is in the global cache
2025-02-20T10:21:06.670Z [TRACE] GRPCProvider: ValidateProviderConfig
2025-02-20T10:21:06.670Z [TRACE] GRPCProvider: GetProviderSchema
2025-02-20T10:21:06.671Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Received request: @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:518 tf_proto_version=5.3 tf_req_id=cb439c9c-8668-7ead-c162-fa297b2f0617 tf_rpc=PrepareProviderConfig @module=sdk.proto tf_provider_addr=provider timestamp=2025-02-20T10:21:06.671Z
2025-02-20T10:21:06.671Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Skipping protocol data file writing because no data directory is set. Use the TF_LOG_SDK_PROTO_DATA_DIR environment variable to enable this functionality.: @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/internal/logging/protocol_data.go:38 @module=sdk.proto tf_provider_addr=provider tf_proto_version=5.3 tf_req_id=cb439c9c-8668-7ead-c162-fa297b2f0617 tf_rpc=PrepareProviderConfig timestamp=2025-02-20T10:21:06.671Z
2025-02-20T10:21:06.671Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Sending request downstream: tf_req_id=cb439c9c-8668-7ead-c162-fa297b2f0617 @module=sdk.proto tf_provider_addr=provider tf_proto_version=5.3 tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 timestamp=2025-02-20T10:21:06.671Z
2025-02-20T10:21:06.671Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Preparing provider configuration: tf_provider_addr=provider tf_req_id=cb439c9c-8668-7ead-c162-fa297b2f0617 tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:128 @module=sdk.helper_schema timestamp=2025-02-20T10:21:06.671Z
2025-02-20T10:21:06.674Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Calling downstream: tf_provider_addr=provider tf_req_id=cb439c9c-8668-7ead-c162-fa297b2f0617 tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:216 @module=sdk.helper_schema timestamp=2025-02-20T10:21:06.674Z
2025-02-20T10:21:06.675Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Called downstream: @module=sdk.helper_schema tf_provider_addr=provider tf_req_id=cb439c9c-8668-7ead-c162-fa297b2f0617 tf_rpc=PrepareProviderConfig @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:218 timestamp=2025-02-20T10:21:06.675Z
2025-02-20T10:21:06.675Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_provider_addr=provider tf_req_duration_ms=4 @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 @module=sdk.proto tf_proto_version=5.3 tf_req_id=cb439c9c-8668-7ead-c162-fa297b2f0617 tf_rpc=PrepareProviderConfig timestamp=2025-02-20T10:21:06.675Z
2025-02-20T10:21:06.675Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Served request: tf_rpc=PrepareProviderConfig @module=sdk.proto tf_proto_version=5.3 tf_provider_addr=provider @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:539 tf_req_id=cb439c9c-8668-7ead-c162-fa297b2f0617 timestamp=2025-02-20T10:21:06.675Z
2025-02-20T10:21:06.676Z [WARN]  ValidateProviderConfig from "provider[\"registry.terraform.io/f5networks/bigip\"]" changed the config value, but that value is unused
2025-02-20T10:21:06.676Z [TRACE] GRPCProvider: ConfigureProvider
2025-02-20T10:21:06.676Z [TRACE] GRPCProvider: GetProviderSchema
2025-02-20T10:21:06.676Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Received request: @module=sdk.proto tf_provider_addr=provider @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:547 tf_proto_version=5.3 tf_req_id=9fdaf175-ceae-4dad-a5e7-791c62d27a40 tf_rpc=Configure timestamp=2025-02-20T10:21:06.676Z
2025-02-20T10:21:06.677Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Sending request downstream: tf_rpc=Configure @module=sdk.proto tf_provider_addr=provider @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 tf_proto_version=5.3 tf_req_id=9fdaf175-ceae-4dad-a5e7-791c62d27a40 timestamp=2025-02-20T10:21:06.676Z
2025-02-20T10:21:06.677Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Calling downstream: @module=sdk.helper_schema tf_provider_addr=provider tf_req_id=9fdaf175-ceae-4dad-a5e7-791c62d27a40 tf_rpc=Configure @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:556 timestamp=2025-02-20T10:21:06.677Z
2025-02-20T10:21:06.677Z [INFO]  provider.terraform-provider-bigip_v1.22.7: Initializing BigIP connection: timestamp=2025-02-20T10:21:06.677Z
2025-02-20T10:21:06.866Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Called downstream: @module=sdk.helper_schema tf_provider_addr=provider tf_req_id=9fdaf175-ceae-4dad-a5e7-791c62d27a40 tf_rpc=Configure @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:558 timestamp=2025-02-20T10:21:06.866Z
2025-02-20T10:21:06.866Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Received downstream response: @module=sdk.proto diagnostic_warning_count=0 tf_req_duration_ms=189 tf_rpc=Configure tf_proto_version=5.3 tf_provider_addr=provider tf_req_id=9fdaf175-ceae-4dad-a5e7-791c62d27a40 @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 diagnostic_error_count=0 timestamp=2025-02-20T10:21:06.866Z
2025-02-20T10:21:06.866Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Served request: tf_proto_version=5.3 tf_rpc=Configure @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:567 @module=sdk.proto tf_provider_addr=provider tf_req_id=9fdaf175-ceae-4dad-a5e7-791c62d27a40 timestamp=2025-02-20T10:21:06.866Z
2025-02-20T10:21:06.866Z [TRACE] vertex "provider[\"registry.terraform.io/f5networks/bigip\"]": visit complete
2025-02-20T10:21:06.866Z [TRACE] vertex "bigip_ltm_profile_http.sanjose-http (expand)": starting visit (*terraform.nodeExpandApplyableResource)
2025-02-20T10:21:06.866Z [TRACE] vertex "bigip_ltm_profile_http.sanjose-http (expand)": does not belong to any module instance
2025-02-20T10:21:06.866Z [TRACE] vertex "bigip_ltm_profile_http.sanjose-http (expand)": expanding dynamic subgraph
2025-02-20T10:21:06.866Z [TRACE] vertex "bigip_ltm_profile_http.sanjose-http (expand)": produced no dynamic subgraph
2025-02-20T10:21:06.866Z [TRACE] vertex "bigip_ltm_profile_http.sanjose-http (expand)": visit complete
2025-02-20T10:21:06.866Z [TRACE] vertex "bigip_ltm_profile_http.sanjose-http": starting visit (*terraform.NodeApplyableResourceInstance)
2025-02-20T10:21:06.867Z [TRACE] vertex "bigip_ltm_profile_http.sanjose-http": belongs to
2025-02-20T10:21:06.867Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/f5networks/bigip" is in the global cache
2025-02-20T10:21:06.867Z [TRACE] readDiff: Read Create change from plan for bigip_ltm_profile_http.sanjose-http
2025-02-20T10:21:06.867Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/f5networks/bigip" is in the global cache
2025-02-20T10:21:06.867Z [TRACE] readResourceInstanceState: reading state for bigip_ltm_profile_http.sanjose-http
2025-02-20T10:21:06.867Z [TRACE] readResourceInstanceState: no state present for bigip_ltm_profile_http.sanjose-http
2025-02-20T10:21:06.867Z [TRACE] readDiff: Read Create change from plan for bigip_ltm_profile_http.sanjose-http
2025-02-20T10:21:06.867Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/f5networks/bigip" is in the global cache
2025-02-20T10:21:06.867Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/f5networks/bigip" is in the global cache
2025-02-20T10:21:06.867Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/f5networks/bigip" is in the global cache
2025-02-20T10:21:06.867Z [TRACE] Re-validating config for "bigip_ltm_profile_http.sanjose-http"
2025-02-20T10:21:06.867Z [TRACE] GRPCProvider: ValidateResourceConfig
2025-02-20T10:21:06.867Z [TRACE] GRPCProvider: GetProviderSchema
2025-02-20T10:21:06.868Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Received request: tf_proto_version=5.3 tf_req_id=18eddc04-7e4d-a43d-2e37-c56a30b2f306 tf_resource_type=bigip_ltm_profile_http @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:679 @module=sdk.proto tf_provider_addr=provider tf_rpc=ValidateResourceTypeConfig timestamp=2025-02-20T10:21:06.868Z
2025-02-20T10:21:06.868Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Sending request downstream: tf_proto_version=5.3 tf_provider_addr=provider tf_req_id=18eddc04-7e4d-a43d-2e37-c56a30b2f306 tf_rpc=ValidateResourceTypeConfig @module=sdk.proto tf_resource_type=bigip_ltm_profile_http @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 timestamp=2025-02-20T10:21:06.868Z
2025-02-20T10:21:06.868Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Calling downstream: @module=sdk.helper_schema tf_req_id=18eddc04-7e4d-a43d-2e37-c56a30b2f306 tf_resource_type=bigip_ltm_profile_http tf_rpc=ValidateResourceTypeConfig @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:245 tf_provider_addr=provider timestamp=2025-02-20T10:21:06.868Z
2025-02-20T10:21:06.869Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Called downstream: @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:247 tf_resource_type=bigip_ltm_profile_http @module=sdk.helper_schema tf_provider_addr=provider tf_req_id=18eddc04-7e4d-a43d-2e37-c56a30b2f306 tf_rpc=ValidateResourceTypeConfig timestamp=2025-02-20T10:21:06.868Z
2025-02-20T10:21:06.869Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Received downstream response: tf_proto_version=5.3 tf_rpc=ValidateResourceTypeConfig @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 @module=sdk.proto diagnostic_error_count=0 tf_resource_type=bigip_ltm_profile_http diagnostic_warning_count=0 tf_provider_addr=provider tf_req_duration_ms=0 tf_req_id=18eddc04-7e4d-a43d-2e37-c56a30b2f306 timestamp=2025-02-20T10:21:06.869Z
2025-02-20T10:21:06.869Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Served request: @module=sdk.proto tf_proto_version=5.3 tf_provider_addr=provider tf_resource_type=bigip_ltm_profile_http @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:699 tf_req_id=18eddc04-7e4d-a43d-2e37-c56a30b2f306 tf_rpc=ValidateResourceTypeConfig timestamp=2025-02-20T10:21:06.869Z
2025-02-20T10:21:06.869Z [TRACE] GRPCProvider: PlanResourceChange
2025-02-20T10:21:06.869Z [TRACE] GRPCProvider: GetProviderSchema
2025-02-20T10:21:06.870Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Received request: @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:770 @module=sdk.proto tf_req_id=50d02e56-0bcb-9507-7b06-811f9dc80280 tf_resource_type=bigip_ltm_profile_http tf_proto_version=5.3 tf_provider_addr=provider tf_rpc=PlanResourceChange timestamp=2025-02-20T10:21:06.870Z
2025-02-20T10:21:06.870Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Sending request downstream: @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 @module=sdk.proto tf_proto_version=5.3 tf_provider_addr=provider tf_req_id=50d02e56-0bcb-9507-7b06-811f9dc80280 tf_resource_type=bigip_ltm_profile_http tf_rpc=PlanResourceChange timestamp=2025-02-20T10:21:06.870Z
2025-02-20T10:21:06.874Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Received downstream response: tf_resource_type=bigip_ltm_profile_http tf_rpc=PlanResourceChange tf_req_duration_ms=3 tf_proto_version=5.3 tf_provider_addr=provider tf_req_id=50d02e56-0bcb-9507-7b06-811f9dc80280 @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 @module=sdk.proto diagnostic_error_count=0 diagnostic_warning_count=0 timestamp=2025-02-20T10:21:06.873Z
2025-02-20T10:21:06.874Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Served request: @module=sdk.proto tf_proto_version=5.3 tf_resource_type=bigip_ltm_profile_http tf_rpc=PlanResourceChange @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:796 tf_provider_addr=provider tf_req_id=50d02e56-0bcb-9507-7b06-811f9dc80280 timestamp=2025-02-20T10:21:06.874Z
2025-02-20T10:21:06.874Z [WARN]  Provider "registry.terraform.io/f5networks/bigip" produced an invalid plan for bigip_ltm_profile_http.sanjose-http, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .enforcement: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
      - .http_strict_transport_security: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
2025-02-20T10:21:06.874Z [TRACE] checkPlannedChange: Verifying that actual change (action Create) matches planned change (action Create)
bigip_ltm_profile_http.sanjose-http: Creating...
2025-02-20T10:21:06.875Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/f5networks/bigip" is in the global cache
2025-02-20T10:21:06.875Z [INFO]  Starting apply for bigip_ltm_profile_http.sanjose-http
2025-02-20T10:21:06.875Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/f5networks/bigip" is in the global cache
2025-02-20T10:21:06.875Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/f5networks/bigip" is in the global cache
2025-02-20T10:21:06.875Z [DEBUG] bigip_ltm_profile_http.sanjose-http: applying the planned Create change
2025-02-20T10:21:06.875Z [TRACE] GRPCProvider: ApplyResourceChange
2025-02-20T10:21:06.875Z [TRACE] GRPCProvider: GetProviderSchema
2025-02-20T10:21:06.876Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Received request: @module=sdk.proto tf_provider_addr=provider tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:805 tf_proto_version=5.3 tf_req_id=40cb2eb9-4a7c-e825-11e2-bee0918fef7c tf_resource_type=bigip_ltm_profile_http timestamp=2025-02-20T10:21:06.876Z
2025-02-20T10:21:06.876Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Sending request downstream: tf_provider_addr=provider tf_resource_type=bigip_ltm_profile_http tf_proto_version=5.3 tf_req_id=40cb2eb9-4a7c-e825-11e2-bee0918fef7c tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 @module=sdk.proto timestamp=2025-02-20T10:21:06.876Z
2025-02-20T10:21:06.876Z [DEBUG] provider.terraform-provider-bigip_v1.22.7: setting computed for "http_strict_transport_security" from ComputedKeys: timestamp=2025-02-20T10:21:06.876Z
2025-02-20T10:21:06.876Z [DEBUG] provider.terraform-provider-bigip_v1.22.7: setting computed for "enforcement" from ComputedKeys: timestamp=2025-02-20T10:21:06.876Z
2025-02-20T10:21:06.876Z [DEBUG] provider.terraform-provider-bigip_v1.22.7: setting computed for "xff_alternative_names" from ComputedKeys: timestamp=2025-02-20T10:21:06.876Z
2025-02-20T10:21:06.876Z [DEBUG] provider.terraform-provider-bigip_v1.22.7: setting computed for "response_headers_permitted" from ComputedKeys: timestamp=2025-02-20T10:21:06.876Z
2025-02-20T10:21:06.877Z [TRACE] provider.terraform-provider-bigip_v1.22.7: Calling downstream: @module=sdk.helper_schema tf_resource_type=bigip_ltm_profile_http tf_provider_addr=provider tf_req_id=40cb2eb9-4a7c-e825-11e2-bee0918fef7c tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/resource.go:836 timestamp=2025-02-20T10:21:06.876Z
2025-02-20T10:21:06.877Z [INFO]  provider.terraform-provider-bigip_v1.22.7: Creating HTTP Profile:/Common/sanjose-http: timestamp=2025-02-20T10:21:06.877Z
2025-02-20T10:21:11.097Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/f5networks/bigip\"] (close)" is waiting for "bigip_ltm_profile_http.sanjose-http"
2025-02-20T10:21:11.098Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/f5networks/bigip\"] (close)"
2025-02-20T10:21:16.100Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/f5networks/bigip\"] (close)"
2025-02-20T10:21:16.100Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/f5networks/bigip\"] (close)" is waiting for "bigip_ltm_profile_http.sanjose-http"
bigip_ltm_profile_http.sanjose-http: Still creating... [10s elapsed]
2025-02-20T10:21:21.100Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/f5networks/bigip\"] (close)"
2025-02-20T10:21:21.100Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/f5networks/bigip\"] (close)" is waiting for "bigip_ltm_profile_http.sanjose-http"
2025-02-20T10:21:26.104Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/f5networks/bigip\"] (close)" is waiting for "bigip_ltm_profile_http.sanjose-http"
2025-02-20T10:21:26.104Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/f5networks/bigip\"] (close)"
bigip_ltm_profile_http.sanjose-http: Still creating... [20s elapsed]

Expected Behavior

The resource should be created and terraform shoudl receive a response and exit properly with a terraform.tfstate containing the resource.

Actual Behavior

The resource is created on the BIG-IP but terraform seems to not receive / interpret a response and hangs on "Still creating..." loop.

@emze9 emze9 added the bug label Feb 20, 2025
@emze9
Copy link
Author

emze9 commented Mar 25, 2025

@RavinderReddyF5

@RavinderReddyF5
Copy link
Collaborator

Hi @emze9 ,
I am not able to reproduce the issue

terraform-provider-bigip git:(devel) terraform apply

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # bigip_ltm_profile_http.sanjose-http will be created
  + resource "bigip_ltm_profile_http" "sanjose-http" {
      + accept_xff                 = (known after apply)
      + basic_auth_realm           = (known after apply)
      + defaults_from              = "/Common/http"
      + description                = (known after apply)
      + head_erase                 = (known after apply)
      + head_insert                = (known after apply)
      + id                         = (known after apply)
      + insert_xforwarded_for      = (known after apply)
      + lws_separator              = (known after apply)
      + lws_width                  = (known after apply)
      + name                       = "/Common/sanjose-http"
      + oneconnect_transformations = (known after apply)
      + proxy_type                 = (known after apply)
      + redirect_rewrite           = (known after apply)
      + request_chunking           = (known after apply)
      + response_chunking          = (known after apply)
      + response_headers_permitted = (known after apply)
      + server_agent_name          = (known after apply)
      + via_host_name              = (known after apply)
      + via_request                = (known after apply)
      + via_response               = (known after apply)
      + xff_alternative_names      = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

bigip_ltm_profile_http.sanjose-http: Creating...
bigip_ltm_profile_http.sanjose-http: Creation complete after 2s [id=/Common/sanjose-http]

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



terraform-provider-bigip git:(devel) terraform show

# bigip_ltm_profile_http.sanjose-http:
resource "bigip_ltm_profile_http" "sanjose-http" {
    defaults_from              = "/Common/http"
    id                         = "/Common/sanjose-http"
    name                       = "/Common/sanjose-http"
    proxy_type                 = "reverse"
    response_headers_permitted = []
    xff_alternative_names      = []
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants