Get current working directory in terraform

Terraform has a built-in object path that contains attributes for various paths Terraform knows about: path.module is the directory containing the module where the path.module expression is placed. path.root is the directory containing the root module. path.cwd is the current working directory. When writing Terraform modules, we most commonly want to resolve paths relative to … Read more

Terraform will damage your computer on macOS Intel

As per the announcement from HashiCorp: The certificate used to sign Apple artifacts was rotated on January 23rd, with existing artifacts re-signed with the new certificate. The previous signing key was revoked on April 24th, 2023. To fix the issue: After certificate revocation, users are expected to encounter errors using Apple artifacts that were downloaded … Read more