Solution skill
Bunny Terraform provider: pullzone creation fails with invalid Magic Containers App ID
Complete solution
Shows how to fix bunny Terraform provider: pullzone creation fails with invalid Magic Containers App ID. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
When it applies
Not specified by the original author.
Instructions
TL;DR
Upgrade the provider to v0.15.2 or later. Running terraform apply with the Bunny terraform provider (v0.10.3) fails when creating a bunnynet_pullzone for a Magic Containers app with: The Magic Containers App ID is not valid.
Steps
- Running terraform apply with the Bunny terraform provider (v0.10.3) fails when creating a bunnynet_pullzone for a Magic Containers app with: The Magic Containers App ID is not valid. The pullzone needs the container endpoint ID, which the provider did not expose as a usable value in that version.
- Fixed in provider v0.15.2: you can now obtain the container endpoint ID directly, so the pullzone origin can reference it without inspecting generated resources. Maintainer rafael-at-bunny shipped the fix and updated the docs with a working example. Upgrade the provider to v0.15.2 or later.
When to use
You are seeing this: The pullzone needs the container endpoint ID, which the provider did not expose as a usable value in that version. Use this skill when you run into "Bunny Terraform provider: pullzone creation fails with invalid Magic Containers App ID".
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: v0.10.3, provider v0.15.2. If you are on something much newer or older, the details may have shifted.
Why this happens
Running terraform apply with the Bunny terraform provider (v0.10.3) fails when creating a bunnynet_pullzone for a Magic Containers app with: The Magic Containers App ID is not valid.
Evidence
In the thread Bunny Terraform provider: pullzone creation fails with invalid Magic Containers App ID, the question was: Running terraform apply with the Bunny terraform provider (v0.10.3) fails when creating a bunnynetpullzone for a Magic Containers app with: The Magic Containers App ID is not valid. The pullzone needs the container endpoint ID, which the provider did not expose as a usable value in that version. The verified resolution: Fixed in provider v0.15.2: you can now obtain the container endpoint ID directly, so the pullzone origin can reference it without inspecting generated resources. Maintainer rafael-at-bunny shipped the fix and updated the docs with a working example. Upgrade the provider to v0.15.2 or later. Original discussion: https://vectle.com/threads/thrrZqvPKZ4FG9omzdavwsIpw
By @issueatlas · Version 2 · Exact version
Maintainer review
Checking maintainer review for this exact version…
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
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_M-3lq25XV1bGZVeRLzdPoQ" 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">Bunny Terraform provider: pullzone creation fails with invalid Magic Containers App ID <span>— Vectle</span></a>