diff --git a/AWS/main.tf.advnc b/AWS/main.tf.advnc
index 3cc5b17a1abe249c9f878a7a4720db1a61764241..c6256ad3d7b7ea7c16252ccdc86f3d6096a41ad0 100644
Binary files a/AWS/main.tf.advnc and b/AWS/main.tf.advnc differ
diff --git a/AWS/main.tf.basic b/AWS/main.tf.basic
index 15c75e79656ecd1393a44f174c095a989ca8d44d..9692887e4461d394ebe7110979bf225c678f42a2 100644
--- a/AWS/main.tf.basic
+++ b/AWS/main.tf.basic
@@ -2,7 +2,7 @@ terraform {
   required_providers {
     aws = {
       source  = "hashicorp/aws"
-      version = "~> 3.27"
+      version = "~> 4.0"
     }
   }
 
@@ -10,7 +10,8 @@ terraform {
 }
 
 provider "aws" {
-  profile = "default"
+  # With provider v4.x, profile shouldn be specified as it breaks the plan
+  # profile = "default"
   region  = "us-east-1"
 }