I’m creating a DynamoDB Global Tables V2 (version 2019.11.21) with 2 replicas, using Terraform Registry. The following is the an example of this resource declaration :
resource "aws_dynamodb_table" "example" {
name = "example"
hash_key = "TestTableHashKey"
billing_mode = "PAY_PER_REQUEST"
stream_enabled = true
stream_view_type = "NEW_AND_OLD_IMAGES"
attribute {
name = "TestTableHashKey"
type = "S"
}
replica {
region_name = "us-east-2"
}
replica {
region_name = "us-west-2"
}
}
Is there a way to access attributes of the replicas tables, like arn and stream_arn ?
Thanks