Closed dubcanada closed 1 year ago
Hello @dubcanada, there is no version
attribute on the datasource. Please use latest
instead.
data "atlas_migration" "backend-migration-data" {
dir = "./../database?format=atlas"
url = "URL"
}
resource "atlas_migration" "backend-migration" {
dir = "./../database?format=atlas"
url = data.atlas_migration.backend-migration-data.url
version = data.atlas_migration.backend-migration-data.latest // <-- latest
dev_url = "docker://maria/10.7/database" // 10.6 doesn't exist, it's only used for validating SQL
}
Hello,
I am getting an error with a very basic setup I have a single SQL file
20231102125726_create_database.sql
and I am gettingI have
Thanks,