Skip to content

Commit

Permalink
docs: Update Karpenter example to use region argument in place of a…
Browse files Browse the repository at this point in the history
…liased AWS provider (#3538)

* feat(karpenter): support AWS Provider v6 region attribute

* docs(karpenter): remove unused aws.virginia provider reference
  • Loading branch information
moko-poi authored and GitHub committed Oct 6, 2025
1 parent de2aa10 commit bf8c86f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion examples/karpenter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.13 |
| <a name="provider_aws.virginia"></a> [aws.virginia](#provider\_aws.virginia) | >= 6.13 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | >= 3.0 |

## Modules
Expand Down
7 changes: 1 addition & 6 deletions examples/karpenter/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ provider "aws" {
region = local.region
}

provider "aws" {
region = "us-east-1"
alias = "virginia"
}

provider "helm" {
kubernetes = {
host = module.eks.cluster_endpoint
Expand All @@ -30,7 +25,7 @@ data "aws_availability_zones" "available" {
}

data "aws_ecrpublic_authorization_token" "token" {
provider = aws.virginia
region = "us-east-1"
}

locals {
Expand Down

0 comments on commit bf8c86f

Please sign in to comment.