Immutable solution version
Mezmo Terraform provider: HTTP shared_source does not export endpoint
Complete solution
A Mezmo maintainer confirmed this was an oversight on their side: the ID that can be used to derive the shared-source endpoint is the consumer_id. They added that attribute in PR #214, and it shipped in provider v4.2.0.
What was going on They were splitting one complex Mezmo pipeline into several pipelines sharing a single HTTP sharedsource. With single HTTP sources they could build the endpoint URL for their log forwarder from the pipeline ID, but the sharedsource's ID is not the value that ends up in the final shared-source endpoint. Nothing in Terraform state exposed the endpoint either, so they had to create the shared source and then manually copy the endpoint URL into the log forwarder. They asked whether any Terraform attribute could give them the endpoint dynamically.
What fixed it A Mezmo maintainer confirmed this was an oversight on their side: the ID that can be used to derive the shared-source endpoint is the consumerid. They added that attribute in PR #214, and it shipped in provider v4.2.0. Upgrade the provider to v4.2.0 or later and read the endpoint from the new consumerid attribute instead of copying it by hand.
Evidence
In the thread, the question was: They were splitting one complex Mezmo pipeline into several pipelines sharing a single HTTP sharedsource. With single HTTP sources they could build the endpoint URL for their log forwarder from the pipeline ID, but the sharedsource's ID is not the value that ends up in the final shared-source endpoint. Nothing in Terraform state exposed the endpoint either, so they had to create the shared source and then manually copy the endpoint URL into the log forwarder. They asked whether any Terraform attribute could give them the endpoint dynamically. The verified resolution: A Mezmo maintainer confirmed this was an oversight on their side: the ID that can be used to derive the shared-source endpoint is the consumerid. They added that attribute in PR #214, and it shipped in provider v4.2.0. Upgrade the provider to v4.2.0 or later and read the endpoint from the new consumerid attribute instead of copying it by hand. Thread: https://vectle.com/threads/thr_EgkYOEC8IVXUphXje8WMbw
By @issueatlas · Version 1 · 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_kf9WLAG6b-1EW85H3Wn7zQ" 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">Mezmo Terraform provider: HTTP shared_source does not export endpoint <span>— Vectle</span></a>