-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(aws-ecs-tutorial): rename ecs directory * feat(aws-eks-tutorial): cleanup * feat(aws-lambda-tutorial): cleanup
- Loading branch information
1 parent
95f7458
commit 77b9be9
Showing
63 changed files
with
407 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Create an AWS ECS BYOC App | ||
|
||
This project contains sample code for our [Create an AWS ECS App](https://docs.nuon.co/tutorials/aws-ecs-app-tutorial) guide on our [docs site](https://docs.nuon.co/). | ||
|
||
The [./terraform-app-config](./terraform-app-config) directory contains a sample Terraform project for creating an ECS app. The [./components](./components) directory contains the components the app consists of. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Create an AWS EKS BYOC App | ||
|
||
This project contains sample code for our [Create an AWS EKS App](https://docs.nuon.co/tutorials/aws-eks-app-tutorial) guide on our [docs site](https://docs.nuon.co/). | ||
|
||
The [./terraform-app-config](./terraform-app-config) directory contains a sample Terraform project for creating an EKS app. The [./components](./components) directory contains the components the app consists of. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
version = "v1" | ||
|
||
[installer] | ||
name = "My EKS App" | ||
description = "A demo app that runs on EKS." | ||
slug = "my-eks-app" | ||
documentation_url = "https://docs.nuon.co/" | ||
community_url = "https://join.slack.com/t/nuoncommunity/shared_invite/zt-1q323vw9z-C8ztRP~HfWjZx6AXi50VRA" | ||
logo_url = "https://assets-global.website-files.com/62a2c1332b518a9eedc6de2f/651df2030c43865b9b16046b_Group%2048.png" | ||
github_url = "https://github.com/nuonco" | ||
homepage_url = "https://www.nuon.co/" | ||
demo_url = "https://www.nuon.co/" | ||
|
||
[sandbox] | ||
terraform_version = "1.5.4" | ||
[sandbox.public_repo] | ||
directory = "aws-eks" | ||
repo = "nuonco/sandboxes" | ||
branch = "main" | ||
|
||
[runner] | ||
runner_type = "aws-eks" | ||
|
||
[[components]] | ||
name = "docker_image" | ||
type = "docker_build" | ||
dockerfile = "Dockerfile" | ||
[components.public_repo] | ||
repo = "nuonco/guides" | ||
directory = "aws-eks-tutorial/components/docker-image" | ||
branch = "main" | ||
|
||
[[components]] | ||
name = "certificate" | ||
type = "terraform_module" | ||
terraform_version = "1.5.3" | ||
[components.public_repo] | ||
repo = "nuonco/guides" | ||
directory = "aws-eks-tutorial/components/certificate" | ||
branch = "main" | ||
[[components.var]] | ||
name = "domain_name" | ||
value = "introspect.{{.nuon.install.sandbox.outputs.public_domain.name}}" | ||
[[components.var]] | ||
name = "zone_id" | ||
value = "{{.nuon.install.sandbox.outputs.public_domain.zone_id}}" | ||
|
||
[[components]] | ||
name = "helm_chart" | ||
type = "helm_chart" | ||
chart_name = "introspect" | ||
[components.public_repo] | ||
repo = "nuonco/guides" | ||
directory = "aws-eks-tutorial/components/helm-chart" | ||
branch = "main" | ||
[[components.value]] | ||
name = "image.repository" | ||
value = "{{.nuon.components.docker_image.image.repository.uri}}" | ||
[[components.value]] | ||
name = "image.tag" | ||
value = "{{.nuon.components.docker_image.image.tag}}" | ||
[[components.value]] | ||
name = "api.nlbs.public_domain_certificate" | ||
value = "{{.nuon.components.certificate.outputs.public_domain_certificate_arn}}" | ||
[[components.value]] | ||
name = "api.nlbs.public_domain" | ||
value = "introspect.{{.nuon.install.sandbox.outputs.public_domain.name}}" | ||
[[components.value]] | ||
name = "app_id" | ||
value = "{{.nuon.app.id}}" | ||
[[components.value]] | ||
name = "org_id" | ||
value = "{{.nuon.org.id}}" | ||
[[components.value]] | ||
name = "install_id" | ||
value = "{{.nuon.install.id}}" | ||
[[components.value]] | ||
name = "vpc_id" | ||
value = "{{.nuon.install.sandbox.outputs.vpc.id}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
resource "nuon_app" "my_eks_app" { | ||
name = "my_eks_app" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
resource "nuon_terraform_module_component" "certificate" { | ||
app_id = nuon_app.my_eks_app.id | ||
name = "certificate" | ||
connected_repo = { | ||
repo = "nuonco/guides" | ||
directory = "aws-eks-tutorial/components/certificate" | ||
branch = "main" | ||
} | ||
var { | ||
name = "domain_name" | ||
value = "introspect.{{.nuon.install.sandbox.outputs.public_domain.name}}" | ||
} | ||
var { | ||
name = "zone_id" | ||
value = "{{.nuon.install.sandbox.outputs.public_domain.zone_id}}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
resource "nuon_docker_build_component" "docker_image" { | ||
app_id = nuon_app.my_eks_app.id | ||
name = "docker_image" | ||
dockerfile = "Dockerfile" | ||
public_repo = { | ||
repo = "nuonco/guides" | ||
directory = "aws-eks-tutorial/components/docker-image" | ||
branch = "main" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
resource "nuon_helm_chart_component" "helm_chart" { | ||
app_id = nuon_app.my_eks_app.id | ||
name = "helm_chart" | ||
chart_name = "introspect" | ||
public_repo = { | ||
repo = "nuonco/guides" | ||
directory = "aws-eks-tutorial/components/helm-chart" | ||
branch = "main" | ||
} | ||
value { | ||
name = "image.repository" | ||
value = "{{.nuon.components.docker_image.image.repository.uri}}" | ||
} | ||
value { | ||
name = "image.tag" | ||
value = "{{.nuon.components.docker_image.image.tag}}" | ||
} | ||
value { | ||
name = "api.nlbs.public_domain_certificate" | ||
value = "{{.nuon.components.certificate.outputs.public_domain_certificate_arn}}" | ||
} | ||
value { | ||
name = "api.nlbs.public_domain" | ||
value = "nlb.{{.nuon.install.sandbox.outputs.public_domain.name}}" | ||
} | ||
value { | ||
name = "app_id" | ||
value = "{{.nuon.app.id}}" | ||
} | ||
value { | ||
name = "org_id" | ||
value = "{{.nuon.org.id}}" | ||
} | ||
value { | ||
name = "install_id" | ||
value = "{{.nuon.install.id}}" | ||
} | ||
dependencies = [ | ||
nuon_docker_build_component.docker_image.id | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
resource "nuon_app_installer" "my_eks_app" { | ||
app_id = nuon_app.my_eks_app.id | ||
name = "My EKS App" | ||
description = "A demo app that runs on EKS." | ||
slug = nuon_app.my_eks_app.name | ||
documentation_url = "https://docs.nuon.co/" | ||
community_url = "https://join.slack.com/t/nuoncommunity/shared_invite/zt-1q323vw9z-C8ztRP~HfWjZx6AXi50VRA" | ||
logo_url = "https://assets-global.website-files.com/62a2c1332b518a9eedc6de2f/651df2030c43865b9b16046b_Group%2048.png" | ||
github_url = "https://github.com/nuonco" | ||
homepage_url = "https://www.nuon.co/" | ||
demo_url = "https://www.nuon.co/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
provider "nuon" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
resource "nuon_app_runner" "main" { | ||
app_id = nuon_app.my_eks_app.id | ||
runner_type = "aws-eks" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resource "nuon_app_sandbox" "main" { | ||
app_id = nuon_app.my_eks_app.id | ||
terraform_version = "v1.6.3" | ||
public_repo = { | ||
repo = "nuonco/sandboxes" | ||
branch = "main" | ||
directory = "aws-eks" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
terraform { | ||
required_version = ">= 1.3.7" | ||
|
||
required_providers { | ||
nuon = { | ||
source = "nuonco/nuon" | ||
version = ">= 0.9.1" | ||
} | ||
|
||
utils = { | ||
source = "cloudposse/utils" | ||
version = ">= 0.17.23" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.