Skip to content

Commit

Permalink
docs: hcl format to docs/snippets/vpc-cni-custom-networking.md
Browse files Browse the repository at this point in the history
  • Loading branch information
herrerasm committed May 20, 2024
1 parent 47e77f3 commit d652840
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/snippets/vpc-cni-custom-networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ To enable VPC CNI custom networking, you must configuring the following componen
}
```
This custom resource can be found in the alekc/kubectl provider. Add it to where the providers are defined:
````
```hcl
required_providers {
# Truncated for brevity
Expand All @@ -104,7 +104,7 @@ To enable VPC CNI custom networking, you must configuring the following componen
```

4. Give permissions to the vpc-cni using IPv4 to be used inside the cluster with an irsa role:
```
```hcl
module "vpc_cni_ipv4_irsa_role" {
source = "github.com/terraform-aws-modules/terraform-aws-iam.git//modules/iam-role-for-service-accounts-eks"
Expand All @@ -121,7 +121,7 @@ To enable VPC CNI custom networking, you must configuring the following componen
tags = var.tags
}
````
```

Once those settings have been successfully applied, you can verify if custom networking is enabled correctly by inspecting one of the `aws-node-*` (AWS VPC CNI) pods:

Expand Down

0 comments on commit d652840

Please sign in to comment.