Skip to content

fix(aks): run the starter kit on tofu 1.11.5 so its moved blocks work - #254

Merged
grubmeshi merged 1 commit into
mainfrom
feature/aks-starterkit-tofu-1-11
Aug 13, 2026
Merged

fix(aks): run the starter kit on tofu 1.11.5 so its moved blocks work#254
grubmeshi merged 1 commit into
mainfrom
feature/aks-starterkit-tofu-1-11

Conversation

@grubmeshi

Copy link
Copy Markdown
Collaborator

What

One line: modules/aks/starterkit/meshstack_integration.tf pins terraform_version = "1.11.5" instead of 1.9.0.

Why

The starter kit gained moved blocks that cross resource types, from meshstack_tenant_v4 to meshstack_tenant and from meshstack_building_block_v2 to meshstack_building_block. OpenTofu only consults the provider's MoveResourceState from 1.10 on. 1.9.0 rejects the statement while validating the plan and never asks the provider, so every run of this definition fails:

Error: Resource type mismatch
This statement declares a move from meshstack_tenant_v4.dev to
meshstack_tenant.dev, which is a resource of a different type.

All five cross-type statements fail at once: meshstack_tenant_v4.dev, meshstack_tenant_v4.prod, meshstack_building_block_v2.repo, meshstack_building_block_v2.github_actions_dev, meshstack_building_block_v2.github_actions_prod.

This was found by ordering an AKS starter kit block against a draft definition version in the likvid foundation. The run failed at Run Terraform Apply; the runner reported "terraform_version": "1.9.0" with provider meshcloud/meshstack v0.24.4.

The ske starter kit declares the same kind of move and already pins 1.11.5, which is why its equivalent test passed on the same runner.

Scope

aks/github-connector and github/repository also pin 1.9.0 and stay as they are. Neither declares a moved block, so neither is affected.

🤖 Generated with Claude Code

The starter kit gained moved blocks that cross resource types, from meshstack_tenant_v4 to
meshstack_tenant and from meshstack_building_block_v2 to meshstack_building_block. OpenTofu only
consults the provider's MoveResourceState from 1.10 on; 1.9.0 rejects the statement while validating
the plan, so every run of this definition fails:

    Error: Resource type mismatch
    This statement declares a move from meshstack_tenant_v4.dev to
    meshstack_tenant.dev, which is a resource of a different type.

That killed an ordered AKS starter kit block in the likvid foundation, at all five cross-type
statements at once. The ske starter kit carries the same kind of move and already pins 1.11.5, which
is why it runs.

aks/github-connector and github/repository stay on 1.9.0. Neither declares a moved block.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

Scorecard Check

Scorecard run on commit 35586a4b0e43cd02cc8ff93de751958a3bfe6401 relative to origin/main

📊 meshstack-hub Module Scorecard

Generated: 2026-08-13 | Modules scanned: 1 | Categories: 5

📋 Per-Module Category Summary

Score per category per building block. n/a = category does not apply to this module.

Module Overall Core Structure Integration Azure Backplane STACKIT Backplane Testing
aks/starterkit 🟢 82% 🟢 100% 🟢 92% n/a n/a 🔴 0%

⚠️ 1 module has failing checks — failing categories are expanded below.

Core Structure — ✅ all passing

Basic module file structure and documentation — applies to 1 modules

Module Score 📦 🔗 📋 📝 🖼️ 📌 🔒
aks/starterkit 🟢 100%

Core Structure — Summary

Emoji Criterion Coverage Status
📦 buildingblock/ directory exists 1/1 🟢 100%
🔗 meshstack_integration.tf present 1/1 🟢 100%
📋 buildingblock/APP_TEAM_README.md present (no-integration fallback) n/a
📝 buildingblock/README.md with YAML front-matter 1/1 🟢 100%
🖼️ buildingblock/logo.png included 1/1 🟢 100%
📌 buildingblock/versions.tf present 1/1 🟢 100%
🔒 Provider versions use minimum constraint (>=) 1/1 🟢 100%
Integration — some checks failing

meshstack_integration.tf conventions — applies to 1 modules

Module Score 🏷️ 🏢 📤 🔌 📎 🔀 📋 🏷️ 🧱 📖 📝 📊 🚫 🔄
aks/starterkit 🟢 92%

Integration — Summary

Emoji Criterion Coverage Status
🏷️ variable "hub" in integration 1/1 🟢 100%
🏢 variable "meshstack" in integration 1/1 🟢 100%
📤 building_block_definition output exposed 1/1 🟢 100%
🔌 meshcloud/meshstack in required_providers 1/1 🟢 100%
📎 backplane source uses var.hub.git_ref 1/1 🟢 100%
🔀 ref_name uses var.hub.git_ref 1/1 🟢 100%
📋 version_spec.draft uses var.hub.bbd_draft 1/1 🟢 100%
🏷️ BBD metadata.tags forwards var.meshstack.tags 1/1 🟢 100%
🧱 BBD input argument vars with optional() have explicit defaults 0/1 🔴 0%
📖 BBD readme field present 1/1 🟢 100%
📝 BBD readme starts with plain-text description (no heading) 1/1 🟢 100%
📊 BBD readme has shared responsibility table (✅/❌) 1/1 🟢 100%
🚫 No documentation_md output in backplane 1/1 🟢 100%
🔄 meshstack_platform has lifecycle ignore_changes = [availability] n/a
Azure Backplane — not applicable

Azure UAMI-based automation principal conventions — applies to 0 modules

No applicable modules.

STACKIT Backplane — not applicable

STACKIT WIF-based automation principal conventions — applies to 0 modules

No applicable modules.

Testing — some checks failing

End-to-end test coverage — applies to 1 modules

Module Score ⚙️ 🧪
aks/starterkit 🔴 0%

Testing — Summary

Emoji Criterion Coverage Status
⚙️ backplane/ directory (optional tier) 0/1 🔴 0%
🧪 e2e/ test directory exists 0/1 🔴 0%
e2e/ contains .tftest.hcl files 0/1 🔴 0%

@aws-amplify-eu-central-1

Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-254.d1o16zfeoh2slu.amplifyapp.com

@grubmeshi
grubmeshi merged commit e46021d into main Aug 13, 2026
3 checks passed
@grubmeshi
grubmeshi deleted the feature/aks-starterkit-tofu-1-11 branch August 13, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant