I’m using terraform_remote_state with remote backend to terraform.io and I have defaults but I’m getting an error:
No stored state was found for the given workspace in the given backend.
data "terraform_remote_state" "fiat-rawdata-infrastructure" {
backend = "remote"
config = {
organization = "fiat"
workspaces = {
name = "fiat-rawdata-infrastructure"
}
}
defaults = {ECR = "", ECS = ""}
}