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

[apply] Add flag to apply entire config, not just a diff #79

Open
spyglass-software opened this issue Mar 29, 2023 · 0 comments
Open

[apply] Add flag to apply entire config, not just a diff #79

spyglass-software opened this issue Mar 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@spyglass-software
Copy link
Contributor

spyglass-software commented Mar 29, 2023

Today, apply generates sql commands by diffing a merged yaml against the yaml on the main/master branch.

For acceptance testing, we may want to ensure that apply correctly replicates all permissions correctly in a new environment. This would require copying all the objects over to the new environment, then running apply --all (or something like that) to apply all the role grants from the yaml, and then ensuring that the expected role grants exist.

Interim Solution

  1. Copy the spyglass section of the yaml to a new file, and replace the accountId.
  2. Commit to git.
  3. Copy the remainder of the old file, keeping the new accountId
  4. Run apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant