Data Source: awsEksAddon
Retrieve information about an EKS add-on.
Example Usage
import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new cdktf.TerraformOutput(this, "eks_addon_outputs", {
value: "${aws_eks_addon.example}",
});
new aws.dataAwsEksAddon.DataAwsEksAddon(this, "example", {
addonName: "vpc-cni",
clusterName: "${aws_eks_cluster.example.name}",
});
Argument Reference
addonName– (Required) Name of the EKS add-on. The name must match one of the names returned by list-addon.clusterName– (Required) Name of the EKS Cluster. Must be between 1-100 characters in length. Must begin with an alphanumeric character, and must only contain alphanumeric characters, dashes and underscores (^[09AZaZ][aZaZ09\_]+$).
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn- ARN of the EKS add-on.addonVersion- Version of EKS add-on.configurationValues- Configuration values for the addon with a single JSON string.serviceAccountRoleArn- ARN of IAM role used for EKS add-on. If value is empty - then add-on uses the IAM role assigned to the EKS Cluster node.id- EKS Cluster name and EKS add-on name separated by a colon (:).createdAt- Date and time in RFC3339 format that the EKS add-on was created.modifiedAt- Date and time in RFC3339 format that the EKS add-on was updated.