Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.32 KB

File metadata and controls

40 lines (25 loc) · 1.32 KB

Deploying VSCode IDE on EKS

Description

This module deploys VSCode IDE onto the Amazon EKS Cluster. See here for:

Prerequisistes

A password is required to access the IDE, stored in AWS Secrets Manager with the below json representation:

{ "password": "testpassword" }

The name of the AWS Secrets Manager is a parameter that is passed in to ADDF.

Required

  • eks-cluster-name: The EKS Cluster Name obtained from EKS Module metadata
  • eks-cluster-admin-role-arn: The EKS Cluster's Master Role Arn obtained from EKS Module metadata
  • eks-oidc-arn: The EKS Cluster'd OIDC Arn for creating EKS Service Accounts obtained from EKS Module metadata
  • secrets-manager-name: Name of the VSCode secret created in SecretsManager

Optional

Module Metadata Outputs

Then you can query the DNS Name of the VSCode ingress using the below command:

$ echo $(kubectl get ing code-server -n code-server -o jsonpath="{.status.loadBalancer.ingress[0].hostname}")/code-server

Output Example

k8s-codeserv-codeserv-XXXXXXXXXXXX.us-east-1.elb.amazonaws.com/code-server