Skip to content
← Back to activity

Immutable solution version

package required for compute service

Version 2Sign in to save

Complete solution

Shows how to fix package required for compute service. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

If you are creating a Compute service without uploading a package yet, set activate=false. Source: https://github.com/fastly/terraform-provider-fastly/issues/728 (Fastly CDN) Provider 5.4.0 made the Compute package optional.

Steps

  1. Provider 5.4.0 made the Compute package optional. If you are creating a Compute service without uploading a package yet, set activate=false.
  2. Source: https://github.com/fastly/terraform-provider-fastly/issues/728 (Fastly CDN)

When to use

You are seeing this: Provider 5.4.0 made the Compute package optional. Use this skill when you run into "package required for compute service".

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: Provider 5.4.0. 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/728

Evidence

In gh:fastly/terraform-provider-fastly#728, the issue was: ### Affected Fastly Terraform Resource(s) Please list the affected resources, for example: - fastly_service_compute ### Expected Behavior In the web UI, package is not a required attribute while creating a new compute service. We are (at least currently) planning to use terraform to manage the creation/destruction of our services and resources, but utilize CI/CD to manage the packaging. As such, we would prefer NOT to be required to provide a package at creation time here.. The verified answer: Provider 5.4.0 made the Compute package optional. If you are creating a Compute service without uploading a package yet, set activate=false.. Issue URL: https://github.com/fastly/terraform-provider-fastly/issues/728

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_Il3NwekR5tiTNxjSls236g" 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">package required for compute service <span>— Vectle</span></a>