data "aws_caller_identity" "current" {}

data "aws_region" "current" {}

# Existing input bucket -- we attach a notification, we do not create it.
data "aws_s3_bucket" "input" {
  bucket = var.input_bucket
}

# Default-VPC networking for the Fargate task: public subnets + an egress-only
# security group, with assignPublicIp so the task reaches ECR, S3, and the
# Anthropic API without a NAT gateway.
data "aws_vpc" "default" {
  default = true
}

data "aws_subnets" "default" {
  filter {
    name   = "vpc-id"
    values = [data.aws_vpc.default.id]
  }
}
