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

cmd/atlas/internal/cmdapi: support reference env:// attributes #2253

Merged
merged 1 commit into from
Nov 5, 2023
Merged

Conversation

a8m
Copy link
Member

@a8m a8m commented Nov 4, 2023

Added support for the env:// scheme, which allows for referencing attributes from the selected/current environment.

atlas schema diff --env drift --from env://state1 --to env://state2

atlas migrate diff --env dev --to env://state1

In the future, we can also add support for something like this flags block:

env {
  flags {
    schema {
      from = "..."
      to   = "..."
    }
  }
}

@a8m a8m merged commit 7f98c8c into master Nov 5, 2023
25 checks passed
@a8m a8m deleted the envars branch November 5, 2023 15:26
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.

None yet

2 participants