-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS ECS Container definition environments do not get masked #30
Comments
Have you tried with the Terraform |
Hi, I am also getting a similar issue. I am trying to test with kubectl manifest, but tfmask is not working. Without tfmaskTerraform will perform the following actions:
# kubectl_manifest.test will be updated in-place
~ resource "kubectl_manifest" "test" {
id = "/api/v1/namespaces/default/configmaps/vishnu-test-demo"
name = "vishnu-test-demo"
~ yaml_body = (sensitive value)
~ yaml_body_parsed = <<-EOT
apiVersion: v1
data:
- password: ijMmsd1piZwz
+ password: ijMms1piZwz_paa
kind: ConfigMap
metadata:
name: vishnu-test-demo
EOT
# (12 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy. With tfmaskTerraform will perform the following actions:
# kubectl_manifest.test will be updated in-place
~ resource "kubectl_manifest" "test" {
id = "######################################################"
name = "vishnu-test-demo"
~ yaml_body = (sensitive value)
~ yaml_body_parsed = <<-EOT
apiVersion: v1
data:
- password: ijMmsd1piZwz
+ password: ijMms1piZwz_paa
kind: ConfigMap
metadata:
name: vishnu-test-demo
EOT
# (12 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
My env params:
command : Expected was to also mask the password section |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment variables passed to AWS ECS container definition do not get masked
Actual
Expected
I am using the latest version of tfmask
The text was updated successfully, but these errors were encountered: