Skip to content

Commit

Permalink
change default region to be consistent with other patterns
Browse files Browse the repository at this point in the history
Signed-off-by: Sébastien Allamand <[email protected]>
  • Loading branch information
allamand committed Jul 18, 2024
1 parent b204dd5 commit 543b061
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,15 @@ In this setup, we used a Kyverno rule to inject iptables rules, and an envoy sid

> If the VPC was not able to destroy, you may want to re-run the destroy command a second time
If the VPC lattice service network still exists, you can remove it with the following command:

```bash
SN=$(aws vpc-lattice list-service-networks --query 'items[?name==`lattice-gateway`].id' --output text)
if [ -n "$SN" ]; then
aws vpc-lattice delete-service-network --service-network-id "$SN"
fi
```

## 3. Finally delete the environment terraform stack

```bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ resource "helm_release" "platform_application" {
values = [
<<EOF
awsAccountID: "${data.aws_caller_identity.current.account_id}"
region: "${local.region}"
version : "v1"
allowedCluster: ${terraform.workspace == "cluster1" ? "eks-cluster2" : "eks-cluster1"}
Expand Down Expand Up @@ -223,7 +222,6 @@ resource "helm_release" "demo_application" {
values = [
<<EOF
awsAccountID: "${data.aws_caller_identity.current.account_id}"
region: "${local.region}"
version : "v1"
allowedCluster: ${terraform.workspace == "cluster1" ? "eks-cluster2" : "eks-cluster1"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ provider "helm" {
locals {
#TODO Change this
name = "eks-${terraform.workspace}"
region = "eu-west-1"
region = "us-west-2"

cluster_vpc_cidr = "10.0.0.0/16"
azs = slice(data.aws_availability_zones.available.names, 0, 3)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider "aws" {

locals {
name = "vpc-lattice"
region = "eu-west-1"
region = "us-west-2"

domain = var.custom_domain_name

Expand Down

0 comments on commit 543b061

Please sign in to comment.