Skip to content

fix: mpg subcommands use positional CLUSTER_ID and pass --org#5

Merged
joshpollara merged 2 commits intomainfrom
fix/mpg-positional-cluster-id
Mar 19, 2026
Merged

fix: mpg subcommands use positional CLUSTER_ID and pass --org#5
joshpollara merged 2 commits intomainfrom
fix/mpg-positional-cluster-id

Conversation

@joshpollara
Copy link
Member

Summary

  • All flyctl mpg subcommands take CLUSTER_ID as a positional arg, not --cluster-id flag
  • flyctl mpg list requires --org when running non-interactively
  • Import now accepts org_slug/cluster_name format
  • Fixes: databases create/list, users create/list/set-role/delete, attach, detach, destroy

Test plan

  • go test ./... passes
  • Verified locally: terraform apply creates mpg_database successfully

🤖 Generated with Claude Code

joshpollara and others added 2 commits March 19, 2026 21:05
flyctl mpg list requires --org when running non-interactively.
Import now accepts org_slug/cluster_name format.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
All flyctl mpg subcommands (databases create/list, users create/list/
set-role/delete, attach, detach, destroy) take CLUSTER_ID as a
positional argument, not a --cluster-id flag.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@joshpollara joshpollara merged commit 0504027 into main Mar 19, 2026
3 checks passed
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