Retrieve information about an EMR Containers (EMR on EKS) Virtual Cluster.
data "aws_emrcontainers_virtual_cluster" "example" {
virtual_cluster_id = "example id"
}
output "name" {
value = data.aws_emrcontainers_virtual_cluster.example.name
}
output "arn" {
value = data.aws_emrcontainers_virtual_cluster.example.arn
}
virtual_cluster_id
- (Required) ID of the cluster.This data source exports the following attributes in addition to the arguments above:
id
- ID of the cluster.name
- Name of the cluster.arn
- ARN of the cluster.container_provider
- Nested attribute containing information about the underlying container provider (EKS cluster) for your EMR Containers cluster.
id
- The name of the container provider that is running your EMR Containers clusterinfo
- Nested list containing information about the configuration of the container provider
eks_info
- Nested list containing EKS-specific information about the cluster where the EMR Containers cluster is running
namespace
- The namespace where the EMR Containers cluster is runningtype
- The type of the container providercreated_at
- Unix epoch time stamp in seconds for when the cluster was created.state
- Status of the EKS cluster. One of RUNNING
, TERMINATING
, TERMINATED
, ARRESTED
.tags
- Key-value mapping of resource tags.