
# base
//data "terraform_remote_state" "base" {
//  backend = "s3"
//  workspace = terraform.workspace
//  config {
//    bucket = "nf-mop-tf-state"
//    key = "base/terraform.tfstate"
//    region = "us-east-1"
//    encrypt = true
//  }
//}

//data "terraform_remote_state" "vendor_data" {
//  backend = "s3"
//  workspace = terraform.workspace
//  config {
//    bucket = "nf-mop-tf-state"
//    key = "vender-data/terraform.tfstate"
//    region = "us-east-1"
//    encrypt = true
//  }
//}

data "terraform_remote_state" "mop_core" {
  backend = "s3"
  workspace = terraform.workspace
  config = {
    bucket = "nf-mop-tf-state"
    key = "core/terraform.tfstate"
    region = "us-east-1"
    encrypt = true
  }
}

data "terraform_remote_state" "central_mq" {
  backend = "s3"
  workspace = terraform.workspace
  config = {
    bucket = "nf-mop-tf-state"
    key = "central-mq/terraform.tfstate"
    region = "us-east-1"
    encrypt = true
  }
}

data "terraform_remote_state" "mop_core_failover" {
  backend = "s3"
  workspace = terraform.workspace
  config = {
    bucket = "nf-mop-tf-state"
    key = "core-failover-region/terraform.tfstate"
    region = "us-east-1"
    encrypt = true
  }
}

data "aws_caller_identity" "current" {}