Skip to content

Commit

Permalink
feat: Add support for snippets, rename examples/ to patterns/ (#1754
Browse files Browse the repository at this point in the history
)
  • Loading branch information
bryantbiggs authored Sep 11, 2023
1 parent 4de99b4 commit 8aa4515
Show file tree
Hide file tree
Showing 230 changed files with 322 additions and 1,005 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/plan-examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get_examples():

projects = {
x.replace('/versions.tf', '')
for x in glob.glob('examples/**/versions.tf', recursive=True)
for x in glob.glob('patterns/**/versions.tf', recursive=True)
if not re.match(r'^.+/_', x)
}

Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/e2e-parallel-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@ jobs:
fail-fast: false
matrix:
include:
- example_path: examples/agones-game-controller
- example_path: examples/fargate-serverless
- example_path: examples/argocd
- example_path: examples/ipv4-prefix-delegation
- example_path: examples/ipv6-eks-cluster
- example_path: examples/karpenter
- example_path: examples/multi-tenancy-with-teams
- example_path: examples/stateful
- example_path: examples/vpc-cni-custom-networking
- example_path: patterns/agones-game-controller
- example_path: patterns/fargate-serverless
- example_path: patterns/argocd
- example_path: patterns/ipv6-eks-cluster
- example_path: patterns/karpenter
- example_path: patterns/multi-tenancy-with-teams
- example_path: patterns/stateful

steps:
- name: Harden Runner
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/e2e-parallel-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,13 @@ jobs:
fail-fast: false
matrix:
include:
- example_path: examples/agones-game-controller
- example_path: examples/fargate-serverless
- example_path: examples/argocd
- example_path: examples/ipv4-prefix-delegation
- example_path: examples/ipv6-eks-cluster
- example_path: examples/karpenter
- example_path: examples/multi-tenancy-with-teams
- example_path: examples/stateful
- example_path: examples/vpc-cni-custom-networking
- example_path: patterns/agones-game-controller
- example_path: patterns/fargate-serverless
- example_path: patterns/argocd
- example_path: patterns/ipv6-eks-cluster
- example_path: patterns/karpenter
- example_path: patterns/multi-tenancy-with-teams
- example_path: patterns/stateful
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: detect-aws-credentials
args: ['--allow-missing-credentials']
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.83.0
rev: v1.83.2
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
4 changes: 2 additions & 2 deletions docs/.pages
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
nav:
- Overview: index.md
- Getting Started: getting-started.md
- Blueprints: blueprints
- IAM: iam
- Patterns: patterns
- Snippets: snippets
- v4 to v5 Migration: v4-to-v5
- FAQ: faq.md
7 changes: 0 additions & 7 deletions docs/blueprints/agones-game-controller.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/appmesh-mtls.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/argocd.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/blue-green-upgrade.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/elastic-fabric-adapter.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/external-secrets.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/fargate-serverless.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/fully-private-cluster.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/iam-identity-center-single-sign-on.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/ipv4-prefix-delegation.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/ipv6-eks-cluster.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/istio-multi-cluster.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/istio.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/karpenter.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/multi-tenancy-with-teams.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/okta-single-sign-on.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/private-public-ingress.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/privatelink-access.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/stateful.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/tls-with-aws-pca-issuer.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/vpc-cni-custom-networking.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/blueprints/wireguard-with-cilium.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ First, ensure that you have installed the following tools locally.

## Examples

Select an example from the [`examples/`](https://github.com/aws-ia/terraform-aws-eks-blueprints/tree/main/examples) directory and follow the instructions in its respective README.md file. The deployment steps for examples generally follow the deploy, validate, and clean-up steps shown below.
Select an example from the [`patterns/`](https://github.com/aws-ia/terraform-aws-eks-blueprints/tree/main/patterns) directory and follow the instructions in its respective README.md file. The deployment steps for examples generally follow the deploy, validate, and clean-up steps shown below.

### Deploy

Expand Down
Loading

0 comments on commit 8aa4515

Please sign in to comment.