Skip to content

Truncated resource id in log during destroy prevents proper masking by CI/CD platform #38053

@nickel-tyler

Description

@nickel-tyler

Terraform Version

1.13

Terraform Configuration Files

any configuration where a resource's ID contains a variable marked sensitive/hidden in the CI/CD platform, where terraform destroy would also truncate the resource ID in log output.

Gitlab var example

Image

Debug Output

Image

First line untruncated and properly masked. subsequent lines truncated and partial sensitive value shown

Expected Behavior

subsequent lines untruncated and properly masked.

Actual Behavior

subsequent lines truncated and partial sensitive value shown

Steps to Reproduce

terraform init
terraform apply

Additional Context

Using Gitlab self hosted CI/CD system

References

No response

Generative AI / LLM assisted development?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXUser experience enhancementsenhancementnewnew issue not yet triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions