From 545fcd71d261a00e5bcb66bc6a14f6d6eec475d1 Mon Sep 17 00:00:00 2001 From: Michele Zanotti Date: Mon, 2 Sep 2024 19:04:23 +0200 Subject: [PATCH] chore: update doc, update examples --- .terraform-docs.yml | 2 +- README.md | 2 +- examples/basic/main.tf | 38 +++++++++++++++++++++++++++++++++++++- 3 files changed, 39 insertions(+), 3 deletions(-) diff --git a/.terraform-docs.yml b/.terraform-docs.yml index 87f176a..c326abf 100644 --- a/.terraform-docs.yml +++ b/.terraform-docs.yml @@ -47,7 +47,7 @@ content: |- * Fetch the command for retrieving the credentials from the module outputs: ```shell - terraform output eks_get_credentials + terraform output eks_cluster_get_credentials ``` * Run the command you got from the previous step diff --git a/README.md b/README.md index ddca0c9..40b9f31 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Prerequisites: install the [AWS CLI](https://docs.aws.amazon.com/cli/latest/user * Fetch the command for retrieving the credentials from the module outputs: ```shell -terraform output eks_get_credentials +terraform output eks_cluster_get_credentials ``` * Run the command you got from the previous step diff --git a/examples/basic/main.tf b/examples/basic/main.tf index a7ce173..8c0e85e 100644 --- a/examples/basic/main.tf +++ b/examples/basic/main.tf @@ -51,7 +51,7 @@ data "aws_security_group" "default" { # ------ Main ------ # module "main" { source = "nebuly-ai/nebuly-platform/aws" - version = "0.2.10" + version = "0.4.1" security_group = data.aws_security_group.default @@ -63,6 +63,15 @@ module "main" { rds_multi_availability_zone_enabled = false rds_availability_zone = var.availability_zones[0] + openai_endpoint = "" + openai_gpt4_deployment_name = "" + platform_domain = "your.domain.com" + nebuly_credentials = { + client_id = "" + client_secret = "" + } + + vpc_id = data.aws_vpc.default.id region = var.region subnet_ids = data.aws_subnets.default.ids @@ -84,3 +93,30 @@ module "main" { } } + +# ------ Outputs ------ # +output "helm_values_bootstrap" { + value = module.main.helm_values_bootstrap + sensitive = true + description = <