You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting the arguments requestlog_template and responselog_template on bigip_ltm_request_log_profile reports every time with a terraform plan or apply that the real F5 infrastructure is different to the currently stored F5 terraform state.
Steps To Reproduce
Set a bigip_ltm_request_log_profile with a requestlog_template and a responselog_template.
It will then be set by terraform apply on the F5 but then report on the next terraform apply that the real infrastructure is different from the terraform state and wants to push a change.
# module.production.bigip_ltm_request_log_profile.production-log-profile will be updated in-place
~ resource "bigip_ltm_request_log_profile" "production-log-profile" {
id = "/Common/production-request-log-profile"
name = "/Common/production-request-log-profile"
~ requestlog_template = "test" -> "test1"
~ responselog_error_template = "test" -> "test3"
~ responselog_template = "test" -> "test2"
# (5 unchanged attributes hidden)
}
Plan: 0 to add, 1 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
module.production.bigip_ltm_request_log_profile.production-log-profile: Modifying... [id=/Common/production-request-log-profile]
module.production.bigip_ltm_request_log_profile.production-log-profile: Modifications complete after 0s [id=/Common/production-request-log-profile]
Running terraform apply immediately after
# module.production.bigip_ltm_request_log_profile.production-log-profile will be updated in-place
~ resource "bigip_ltm_request_log_profile" "production-log-profile" {
id = "/Common/production-request-log-profile"
name = "/Common/production-request-log-profile"
~ responselog_error_template = "test1" -> "test3"
~ responselog_template = "test1" -> "test2"
# (6 unchanged attributes hidden)
}
Expected Behavior
Set the requestlog_template and responselog_template argument
Arguments are set and report that the real infrastructure matches the terraform state.
Actual Behavior
Set the requestlog_template and responselog_template variables
Arguments are set on the F5 and report a change with the original value being the requestlog_template arguments value even though F5 has the correct values.
The text was updated successfully, but these errors were encountered:
Before you start contributing to any project sponsored by F5 Networks, Inc. (F5) on GitHub, you will need to sign a Contributor License Agreement (CLA).
If you are signing as an individual, we recommend that you talk to your employer (if applicable) before signing the CLA since some employment agreements may have restrictions on your contributions to other projects. Otherwise by submitting a CLA you represent that you are legally entitled to grant the licenses recited therein.
If your employer has rights to intellectual property that you create, such as your contributions, you represent that you have received permission to make contributions on behalf of that employer, that your employer has waived such rights for your contributions, or that your employer has executed a separate CLA with F5.
If you are signing on behalf of a company, you represent that you are legally entitled to grant the license recited therein. You represent further that each employee of the entity that submits contributions is authorized to submit such contributions on behalf of the entity pursuant to the CLA.
Environment
Summary
When setting the arguments
requestlog_template
andresponselog_template
onbigip_ltm_request_log_profile
reports every time with a terraform plan or apply that the real F5 infrastructure is different to the currently stored F5 terraform state.Steps To Reproduce
terraform apply
on the F5 but then report on the nextterraform apply
that the real infrastructure is different from the terraform state and wants to push a change.Example config
Initial update
Running terraform apply immediately after
Expected Behavior
Actual Behavior
requestlog_template
arguments value even though F5 has the correct values.The text was updated successfully, but these errors were encountered: