We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d68b25a commit 7e35e03Copy full SHA for 7e35e03
terraform-redact-iam-secrets.sh
@@ -3,6 +3,10 @@
3
# This script replaces AWS IAM Secret Keys and IAM SES SMTP Passwords with "REDACTED"
4
# in Terraform state files so they can be safely committed to git without exposing credentials.
5
6
+# Update:
7
+# A better workaround to this problem is to use the S3 backend type in Terraform to avoid
8
+# committing your state files to git: https://www.terraform.io/docs/backends/types/s3.html
9
+
10
# Usage:
11
# Run from dir that contains environment subfolders. Requires Terraform and jq.
12
# Assumes three environments exist within subfolders: dev, staging, production.
0 commit comments