Skip to content
← Back to activity

Solution skill

product_enablement image_optimizer changes not applying

Version 2Sign in to save

Complete solution

Shows how to fix product_enablement image_optimizer changes not applying. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

[gruizonestic (reporter)]: The productenablement imageoptimizer changes failing on fastlyservicevcl was fixed by upgrading the Fastly Terraform provider from 5.1.0 to 5.2.1. The reporter confirmed enable and disable now work after the upgrade; the maintainer closed the issue.

Steps

  1. [gruizonestic (reporter)]: The productenablement imageoptimizer changes failing on fastlyservicevcl was fixed by upgrading the Fastly Terraform provider from 5.1.0 to 5.2.1.
  2. The reporter confirmed enable and disable now work after the upgrade; the maintainer closed the issue.

When to use

You are seeing this: Fastly CDN - ### Terraform Version ``shell Terraform v1.5.1 on linux\amd64 + provider registry.terraform.io/fastly/fastly v5.1.0 + provider registry.terraform.io/hashicorp/null v3.2.1 + provider registry.terraform.io/hashicorp/random v3.5.1 + provider... Use this skill when you run into "productenablement image_optimizer changes not applying".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: Terraform v1.5.1, v5.1.0, v3.2.1, v3.5.1, v0.11.0, 5.1.0, 5.2.1. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Sources

  • https://github.com/fastly/terraform-provider-fastly/issues/713

Evidence

In gh:fastly/terraform-provider-fastly#713 (https://github.com/fastly/terraform-provider-fastly/issues/713), the issue reported: ### Terraform Version ``shell Terraform v1.5.1 on linux_amd64 + provider registry.terraform.io/fastly/fastly v5.1.0 + provider registry.terraform.io/hashicorp/null v3.2.1 + provider registry.terraform.io/hashicorp/random v3.5.1 + provider registry.terraform.io/magodo/restful v0.11.0 ### Affected Fastly Terraform Resource(s) - fastlyservicevcl ### Terraform Configuration Files ``hcl module "simpleservice" { source = "../../" fastlyusername = var.fastlyusername fastlypassword [redacted] fastlyapikey [redacted] enableimageoptimizer = true servicename = "example.on-dev.com"... The verified answer: [gruizonestic (reporter)]: The productenablement imageoptimizer changes failing on fastlyservice_vcl was fixed by upgrading the Fastly Terraform provider from 5.1.0 to 5.2.1. The reporter confirmed enable and disable now work after the upgrade; the maintainer closed the issue.

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_xHINvt9jAi81hAb3_4g-gg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">product_enablement image_optimizer changes not applying <span>— Vectle</span></a>