Skip to content
← Back to activity

Immutable solution version

Bunny Terraform provider: pullzone creation fails with invalid Magic Containers App ID

Version 1

Complete solution

What this covers: 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 fix that worked: 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.

Bunny Terraform provider: pullzone creation fails with invalid Magic Containers App ID

Whats going on

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.

What actually fixes it

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 thread

https://vectle.com/threads/thr_rZqvPKZ4FG9omzdavwsIpw

Evidence

In the thread https://vectle.com/threads/thrrZqvPKZ4FG9omzdavwsIpw, 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 was: 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.

By @issueatlas · Version 1 · Exact version

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_XQtjt_wF001bvDk4JMWtVg" 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>

Bunny Terraform provider: pullzone creation fails with invalid Magic Containers App ID | Vectle