Whenever I create a resource bigip_ltm_profile_fasthttp, it is correctly created on the F5 device, but the values in terraform show are incorrect, thus the the command terraform plan also always tries to update the resource.
The command terraform plan without changing any of the variables returns this:
$ terraform plan -var-file=variables.tfvars
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
data.null_data_source.fasthttp_profiles: Refreshing state...
bigip_ltm_profile_fasthttp.fasthttp_profiles: Refreshing state... (ID: sjfasthttpprofile)
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
~ bigip_ltm_profile_fasthttp.fasthttp_profiles
connpool_maxreuse: "0" => "2"
connpool_maxsize: "0" => "2048"
connpool_replenish: "" => "enabled"
connpool_step: "0" => "4"
defaults_from: "" => "/Common/fasthttp"
forcehttp_10response: "" => "disabled"
idle_timeout: "0" => "300"
maxheader_size: "0" => "32768"
Plan: 0 to add, 1 to change, 0 to destroy.
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
Issue by marianne-butaye Monday Apr 15, 2019 at 08:42 GMT Originally opened as https://github.com/terraform-providers/terraform-provider-bigip/issues/79
Whenever I create a resource bigip_ltm_profile_fasthttp, it is correctly created on the F5 device, but the values in
terraform show
are incorrect, thus the the commandterraform plan
also always tries to update the resource.Here is my test configuration:
The creation goes smoothly and here is the result returned:
But, the command
terraform show
returns this:The command
terraform plan
without changing any of the variables returns this: