Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve export/edit/import workflow #93

Open
cgascoig opened this issue Nov 15, 2022 · 1 comment
Open

Improve export/edit/import workflow #93

cgascoig opened this issue Nov 15, 2022 · 1 comment
Assignees

Comments

@cgascoig
Copy link
Owner

  • Add ability to export YAML but remove computed/readonly attributes
    • Ability to hide default values would be good too (may not be possible)
  • This could also make it easy to offer isctl edit ...
  • Add variable support to isctl apply (maybe look at TF variables approach - specify of cmd line and fallback to env vars?)
@baelen-git
Copy link
Contributor

baelen-git commented May 12, 2024

It will be possible to determine which fields are ReadWrite by using meta.Definitions like this

❯ isctl get meta definition --filter "Name eq 'fabric.PortMode'" --select Properties -o json | jq '.[].Properties.[] | select(.ApiAccess=="ReadWrite") | .Name'
"CustomMode"
"PortIdEnd"
"PortIdStart"
"SlotId"
"Tags"

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

No branches or pull requests

2 participants