Skip to main content

cluster_tags

Expands all tag keys and values for clusters in a region

Overview

Namecluster_tags
TypeResource
DescriptionAn object representing an Amazon EKS cluster.
Idaws.eks.cluster_tags

Fields

NameDatatypeDescription
encryption_configarray
kubernetes_network_configobjectThe Kubernetes network configuration for the cluster.
loggingobjectEnable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs based on log types. By default, cluster control plane logs aren't exported to CloudWatch Logs.
namestringThe unique name to give to your cluster.
idstringThe unique ID given to your cluster.
resources_vpc_configobjectAn object representing the VPC configuration to use for an Amazon EKS cluster.
outpost_configobjectAn object representing the Outpost configuration to use for AWS EKS outpost cluster.
access_configobjectAn object representing the Access Config to use for the cluster.
upgrade_policyobjectAn object representing the Upgrade Policy to use for the cluster.
remote_network_configobjectConfiguration fields for specifying on-premises node and pod CIDRs that are external to the VPC passed during cluster creation.
compute_configobjectTodo: add description
storage_configobjectTodo: add description
role_arnstringThe Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
versionstringThe desired Kubernetes version for your cluster. If you don't specify a value here, the latest version available in Amazon EKS is used.
arnstringThe ARN of the cluster, such as arn:aws:eks:us-west-2:666666666666:cluster/prod.
endpointstringThe endpoint for your Kubernetes API server, such as https://5E1D0CEXAMPLEA591B746AFC5AB30262.yl4.us-west-2.eks.amazonaws.com.
certificate_authority_datastringThe certificate-authority-data for your cluster.
cluster_security_group_idstringThe cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control plane to data plane communication.
encryption_config_key_arnstringAmazon Resource Name (ARN) or alias of the customer master key (CMK).
open_id_connect_issuer_urlstringThe issuer URL for the cluster's OIDC identity provider, such as https://oidc.eks.us-west-2.amazonaws.com/id/EXAMPLED539D4633E53DE1B716D3041E. If you need to remove https:// from this output value, you can include the following code in your template.
bootstrap_self_managed_addonsbooleanSet this value to false to avoid creating the default networking add-ons when the cluster is created.
zonal_shift_configobjectThe current zonal shift configuration to use for the cluster.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all clusters in a region.

SELECT
region,
encryption_config,
kubernetes_network_config,
logging,
name,
id,
resources_vpc_config,
outpost_config,
access_config,
upgrade_policy,
remote_network_config,
compute_config,
storage_config,
role_arn,
version,
arn,
endpoint,
certificate_authority_data,
cluster_security_group_id,
encryption_config_key_arn,
open_id_connect_issuer_url,
bootstrap_self_managed_addons,
zonal_shift_config,
tag_key,
tag_value
FROM aws.eks.cluster_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the cluster_tags resource, see clusters