Difference between revisions of "Terraform EKS apply output"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  cluster_name = "education-eks-Ry318DCv"
 
  cluster_name = "education-eks-Ry318DCv"
 
  cluster_security_group_id = "sg-0bfd13976189b8d9d"
 
  cluster_security_group_id = "sg-0bfd13976189b8d9d"
  config_map_aws_auth = [
+
  [[config_map_aws_auth]] = [
 
   {
 
   {
 
     "binary_data" = tomap(null) /* of string */
 
     "binary_data" = tomap(null) /* of string */

Revision as of 02:30, 16 February 2022

Apply complete! Resources: 53 added, 0 changed, 0 destroyed.

Outputs: 

cluster_endpoint = "https://XXXXXXXX.gr7.us-east-2.eks.amazonaws.com"
cluster_id = "education-eks-Ry318DCv"
cluster_name = "education-eks-Ry318DCv"
cluster_security_group_id = "sg-0bfd13976189b8d9d"
config_map_aws_auth = [
  {
    "binary_data" = tomap(null) /* of string */
    "data" = tomap({
      "mapAccounts" = <<-EOT
      []

      EOT
      "mapRoles" = <<-EOT
        - "groups":
        - "system:bootstrappers"
        - "system:nodes"
        "rolearn": "arn:aws:iam::0123456789:role/education-eks-Ry318DCv2021112920051833930000000e"
        "username": "system:node:Template:EC2PrivateDNSName" 

      EOT
      "mapUsers" = <<-EOT
      []

      EOT
    })
    "id" = "kube-system/aws-auth"
     "metadata" = tolist([
       {
        "annotations" = tomap(null) /* of string */
        "generate_name" = ""
        "generation" = 0
        "labels" = tomap({
          "app.kubernetes.io/managed-by" = "Terraform"
          "terraform.io/module" = "terraform-aws-modules.eks.aws"
        })
        "name" = "aws-auth"
        "namespace" = "kube-system"
        "resource_version" = "632"
        "uid" = "507ce429-f78c-4de1-89fb-154a16caba55"
      },
    ])
  },
]
kubectl_config = <<EOT
apiVersion: v1
preferences: {}
kind: Config

clusters:
- cluster:
    server: https://XXXXXXXXX.gr7.us-east-2.eks.amazonaws.com
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM1ekNDQWMrZ0F3SUJBZ0lCQURBT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VLMjl2VUdLV29UMUFEblRjaTlhMkRpZG9MSnhJWldJUUIKOFJ4S3RaN29XZHo2aFdHaGNXaHMwVzUxR3J5T0xsYlA2T2J5QzIyT2dXaDh0QXF1TG53SUR2MS9tTzc0aUFaSgpGOEluN3lwNlZFSVhiVVh5RWdwNlZlM01oaXpKMThTMnViSFYwZjlva0tMV1ZBZkE4UXNpWGVjbjZIbUt5amxWCmM4Tm50L05LeHlMNWZ0SU53dEVpalMzUGVyMUlKS2cyaGRpMQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
  name: eks_education-eks-Ry318DCv

contexts:
- context:
    cluster: eks_education-eks-Ry318DCv
    user: eks_education-eks-Ry318DCv
  name: eks_education-eks-Ry318DCv

current-context: eks_education-eks-Ry318DCv

users:
- name: eks_education-eks-Ry318DCv
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1alpha1
      command: aws-iam-authenticator
      args:
        - "token"
        - "-i"
        - "education-eks-Ry318DCv"

EOT
region = "us-east-2"

See also

Advertising: