From df8621277643c577c3e0985ef95d8609f0afc254 Mon Sep 17 00:00:00 2001 From: Elamaran Shanmugam Date: Wed, 29 May 2024 22:36:17 +0530 Subject: [PATCH 1/2] Backstage Integrations Upgrade for Terraform with TOFU - Doc Updates Signed-off-by: Elamaran Shanmugam --- eks-cm.yaml | 10 ++++++++++ examples/terraform-integrations/README.md | 5 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 eks-cm.yaml diff --git a/eks-cm.yaml b/eks-cm.yaml new file mode 100644 index 00000000..46141e94 --- /dev/null +++ b/eks-cm.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: "eks-cluster-jupyterhub-on-eks-v2-tf-cm" + namespace: flux-system + annotations: + argocd.argoproj.io/sync-wave: "0" +data: + terraform.tfvars.json: | + {"acm_certificate_domain":"","cognito_custom_domain":"eks","eks_cluster_version":"1.29","jupyter_hub_auth_mechanism":"dummy","jupyterhub_domain":"","name":"jupyterhub-on-eks-v2","region":"us-west-2","secondary_cidr_blocks":["100.64.0.0/16"],"vpc_cidr":"10.1.0.0/21"} diff --git a/examples/terraform-integrations/README.md b/examples/terraform-integrations/README.md index 298fdbfc..a0e9a737 100644 --- a/examples/terraform-integrations/README.md +++ b/examples/terraform-integrations/README.md @@ -2,7 +2,7 @@ `idpBuilder` is now experimentally extensible to launch custom terraform patterns using package extensions. This is an experimental effort allowing the users of the `idpBuilder` to run terraform modules using the tooling in place. -Please use the below command to deploy an IDP reference implementation with an Argo application for terraform integrations with few sample patterns we have built: +Please use the below command to deploy an IDP reference implementation with an Argo application for preparing up the setup for terraform integrations: ```bash idpbuilder create \ @@ -14,5 +14,4 @@ idpbuilder create \ As you see above, this add-on to `idpbuilder` has a dependency to the [reference implementation](../ref-implementation/). This command primarily does the following: 1. Installs `fluxcd` source repository controller as an `argo` application. -2. Installs `tofu-controller` for managing the lifecycle of terraform deployments from your Kubernetes cluster for operations such as create, delete and update. -3. Finally, this stack add-on goes together with the work done under [backstage-terraform-integrations](https://github.com/cnoe-io/backstage-terraform-integrations/). Once the add-on is enabled, the user will need to follow the setup discussed in the [backstage-terraform-integrations](https://github.com/cnoe-io/backstage-terraform-integrations/) repo for the remainder of the configuration, and terraform integrations should work. \ No newline at end of file +2. Installs `tofu-controller` for managing the lifecycle of terraform deployments from your Kubernetes cluster for operations such as create, delete and update. \ No newline at end of file From 4c85f8bb6849b5dea5e8e1a9fc360c1d4d994a2b Mon Sep 17 00:00:00 2001 From: Elamaran Shanmugam Date: Wed, 29 May 2024 22:36:39 +0530 Subject: [PATCH 2/2] Backstage Integrations Upgrade for Terraform with TOFU - Doc Updates Signed-off-by: Elamaran Shanmugam --- eks-cm.yaml | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 eks-cm.yaml diff --git a/eks-cm.yaml b/eks-cm.yaml deleted file mode 100644 index 46141e94..00000000 --- a/eks-cm.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: "eks-cluster-jupyterhub-on-eks-v2-tf-cm" - namespace: flux-system - annotations: - argocd.argoproj.io/sync-wave: "0" -data: - terraform.tfvars.json: | - {"acm_certificate_domain":"","cognito_custom_domain":"eks","eks_cluster_version":"1.29","jupyter_hub_auth_mechanism":"dummy","jupyterhub_domain":"","name":"jupyterhub-on-eks-v2","region":"us-west-2","secondary_cidr_blocks":["100.64.0.0/16"],"vpc_cidr":"10.1.0.0/21"}