Skip to content

Commit

Permalink
Merge branch 'main' into sso/cam
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigobersa committed Mar 26, 2024
2 parents f9b2b8c + 9d02c36 commit 2ec3f7b
Show file tree
Hide file tree
Showing 59 changed files with 224 additions and 2,550 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
egress-policy: audit

- name: 'Checkout Repository'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.5.4
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.5.4
- name: 'Dependency Review'
uses: actions/dependency-review-action@9129d7d40b8c12c1ed0f60400d00c92d437adcce # v4.1.3
uses: actions/dependency-review-action@5bbc3ba658137598168acb2ab73b21c432dd411b # v4.2.5
2 changes: 1 addition & 1 deletion .github/workflows/e2e-parallel-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
egress-policy: audit

- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633

- name: Setup backend
# Un-comment remote backend for use in workflow
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-parallel-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
egress-policy: audit

- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633

- name: Auth AWS
uses: aws-actions/[email protected]
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
egress-policy: audit

- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633

- name: Setup backend
# Un-comment remote backend for use in workflow
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
egress-policy: audit

- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633

- name: Configure AWS credentials from Test account
uses: aws-actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
egress-policy: audit

- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/setup-node@v4
with:
node-version: '16.x'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/plan-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
egress-policy: audit

- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633

- name: Get Terraform directories for evaluation
id: dirs
Expand Down Expand Up @@ -63,13 +63,13 @@ jobs:

- name: checkout-merge
if: "contains(github.event_name, 'pull_request')"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
with:
ref: refs/pull/${{github.event.pull_request.number}}/merge

- name: checkout
if: "!contains(github.event_name, 'pull_request')"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633

- uses: dorny/paths-filter@v3
id: changes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: rm -rf $(which terraform)

- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633

- uses: dorny/paths-filter@v3
id: changes
Expand All @@ -55,7 +55,7 @@ jobs:
restore-keys: ${{ runner.os }}-terraform-

- name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.8.3
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0
if: steps.changes.outputs.src== 'true'
with:
terraform-version: ${{ env.TERRAFORM_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
egress-policy: audit

- name: Checkout main
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
egress-policy: audit

- name: "Checkout code"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.5.4
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.5.4
with:
persist-credentials: false

Expand Down Expand Up @@ -71,6 +71,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@47b3d888fe66b639e431abf22ebca059152f1eea # v3.24.5
uses: github/codeql-action/upload-sarif@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
with:
sarif_file: results.sarif
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.3.0
rev: v8.6.0
hooks:
- id: cspell
args: [--exclude, 'ADOPTERS.md', --exclude, '.pre-commit-config.yaml', --exclude, '.gitignore', --exclude, '*.drawio', --exclude, 'mkdocs.yml', --exclude, '.helmignore', --exclude, '.github/workflows/*', --exclude, 'patterns/istio-multi-cluster/*', --exclude, 'patterns/blue-green-upgrade/*']
Expand All @@ -19,7 +19,7 @@ repos:
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.86.0
rev: v1.88.2
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ related projects that users should be aware of:
AWS-managed observability services such as Amazon Managed Service for Prometheus, Amazon
Managed Grafana, AWS Distro for OpenTelemetry (ADOT) and Amazon CloudWatch

4. Karpenter Blueprints
- [`karpenter-blueprints`](https://github.com/aws-samples/karpenter-blueprints) - includes a list of common workload scenarios,
some of them go in depth with the explanation of why configuring Karpenter and Kubernetes objects in such a way is important.

## Terraform Caveats

EKS Blueprints for Terraform does not intend to teach users the recommended practices for Terraform
Expand Down
3 changes: 2 additions & 1 deletion docs/cSpell_dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ addrs
adot
agones
akuity
alekc
algbw
ALLOWVOLUMEEXPANSION
amazonlinux
Expand Down Expand Up @@ -73,7 +74,6 @@ flblogs
fluentbit
gameserver
gameservers
gavinbunney
gitops
helloworld
heptio
Expand Down Expand Up @@ -144,6 +144,7 @@ tcpdump
templatefile
tfstate
tfvars
tolerations
tolist
toset
velero
Expand Down
7 changes: 0 additions & 7 deletions docs/patterns/istio-multi-cluster.md

This file was deleted.

4 changes: 2 additions & 2 deletions patterns/appmesh-mtls/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ terraform {
version = ">= 2.9"
}
kubectl = {
source = "gavinbunney/kubectl"
version = ">= 1.14"
source = "alekc/kubectl"
version = ">= 2.0"
}
}

Expand Down
4 changes: 4 additions & 0 deletions patterns/elastic-fabric-adapter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ See [here](https://aws-ia.github.io/terraform-aws-eks-blueprints/getting-started

## Validate

!!! note

The following steps are shown with `g5.8xlarge` for frugality. Values shown below will change based on the instance type selected (i.e. - `p5.48xlarge` has 8 GPUs and 32 EFA interfaces)

1. List the nodes by instance type:

```sh
Expand Down
Loading

0 comments on commit 2ec3f7b

Please sign in to comment.