Difference between revisions of "Terraform EKS module: create aws auth configmap"

From wikieduonline
Jump to navigation Jump to search
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{lc}}
+
  create_aws_auth_configmap = yes
 +
 
 +
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/complete/main.tf
 +
  # Create a new cluster where both an [[identity provider]] and [[Fargate profile]] is created
 +
  # will result in conflicts since only one can take place at a time
 +
  # # OIDC Identity provider
 +
  # cluster_identity_providers = {
 +
  #  sts = {
 +
  #    client_id = "sts.amazonaws.com"
 +
  #  }
 +
  # }
 +
 +
  # aws-auth configmap
 +
  [[manage_aws_auth_configmap]] = true
 +
 
 +
== Errors ==
 +
* <code>[[Error: Post]] "http://localhost/api/v1/namespaces/kube-system/configmaps": dial tcp [::1]:80: [[connect: connection refused]]</code>
 +
* <code>[[Error: configmaps "aws-auth" already exists]]</code>
  
 
== Related ==
 
== Related ==
Line 6: Line 23:
  
 
== See also ==
 
== See also ==
* {{Terraform EKS}}
+
* {{Terraform EKS module}}
  
 
[[Category:EKS]]
 
[[Category:EKS]]
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 16:52, 24 October 2023

 create_aws_auth_configmap = yes

https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/complete/main.tf

 # Create a new cluster where both an identity provider and Fargate profile is created
 # will result in conflicts since only one can take place at a time
 # # OIDC Identity provider
 # cluster_identity_providers = {
 #   sts = {
 #     client_id = "sts.amazonaws.com"
 #   }
 # }

 # aws-auth configmap
 manage_aws_auth_configmap = true

Errors[edit]

Related[edit]

See also[edit]

Advertising: