Skip to content

feat(terraform): optional tailnet, parallelism and session length; follow symlinked .tf in discovery - #377

Merged
tobias0106 merged 3 commits into
mainfrom
feat/terraform-tailscale-parallelism
Oct 9, 2026
Merged

tobias0106 merged 3 commits into
mainfrom
feat/terraform-tailscale-parallelism

Conversation

@tobias0106

@tobias0106 tobias0106 commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Lets stacks whose providers talk to private endpoints use the shared Terraform workflows.

terraform-stack.yml (all opt-in; existing callers unchanged):

  • tailscale (default false) + tailscale-authkey secret: joins the tailnet before init, same action/pin as the other shared workflows.
  • parallelism (default 10, Terraform's own default): passed to plan, apply and the post-failure re-plan.
  • aws-session-duration (default 3600): role-duration-seconds for the OIDC session, for applies longer than an hour.

terraform-discover.yml: a .tf symlinked into a stack now counts as that stack depending on the link's target directory, so changing a shared file selects every stack that links it instead of nothing. Tested against a repo with 18 stacks linking one shared file: the change selects all 18; a change inside one stack still selects only that stack.

terraform-discover.yml: `ignore` input (extended regex, default empty) for changed paths that select nothing, on top of `*.md`. For helper scripts and other files that cannot affect state, so they don't fan out to every stack.

🤖 Generated with Claude Code

@tobias0106
tobias0106 marked this pull request as ready for review October 9, 2026 09:08
@tobias0106
tobias0106 requested a review from a team as a code owner October 9, 2026 09:08
@tobias0106
tobias0106 requested review from gh05tdog and removed request for a team October 9, 2026 09:08
tobias0106 and others added 3 commits October 9, 2026 11:32
…llow symlinked .tf in discovery

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… state

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tobias0106
tobias0106 force-pushed the feat/terraform-tailscale-parallelism branch from 1b21c31 to 43b1ddb Compare October 9, 2026 09:32
@tobias0106
tobias0106 merged commit c31ad2b into main Oct 9, 2026
1 check passed
@tobias0106
tobias0106 deleted the feat/terraform-tailscale-parallelism branch October 9, 2026 11:37
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.

2 participants