Skip to content

Commit c23586f

Browse files
lgallardclaude
andcommitted
fix: standardize AWS provider configurations across examples
Resolves inconsistent AWS provider configurations by commenting out hardcoded profile settings in all examples, ensuring CI/CD compatibility while maintaining local development flexibility. ## Changes - Updated 5 examples to use commented profile configuration - Standardized format: `# profile = var.env["profile"] # Commented out for CI compatibility` - All 9 examples now have consistent provider configurations ## Issues Resolved - Closes #142: Improve example AWS provider configurations for local development - Addresses #143: Dependencies were already updated in previous comprehensive testing PR ## Benefits - ✅ Works in CI without modification - ✅ Supports local development with profiles (uncomment when needed) - ✅ Consistent configuration across all examples - ✅ Better developer experience 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent cabe805 commit c23586f

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
provider "aws" {
2-
region = var.env["region"]
3-
profile = var.env["profile"]
2+
region = var.env["region"]
3+
# profile = var.env["profile"] # Commented out for CI compatibility
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
provider "aws" {
2-
region = var.env["region"]
3-
profile = var.env["profile"]
2+
region = var.env["region"]
3+
# profile = var.env["profile"] # Commented out for CI compatibility
44
}

examples/simple_plan/provider.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
provider "aws" {
2-
region = var.env["region"]
3-
profile = var.env["profile"]
2+
region = var.env["region"]
3+
# profile = var.env["profile"] # Commented out for CI compatibility
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
provider "aws" {
2-
region = var.env["region"]
3-
profile = var.env["profile"]
2+
region = var.env["region"]
3+
# profile = var.env["profile"] # Commented out for CI compatibility
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
provider "aws" {
2-
region = var.env["region"]
3-
profile = var.env["profile"]
2+
region = var.env["region"]
3+
# profile = var.env["profile"] # Commented out for CI compatibility
44
}

0 commit comments

Comments
 (0)