Skip to content
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

Bug: Terraform support is not working for SAM CLI installed in linux using the x86_64 - command line installer #4432

Closed
moelasmar opened this issue Nov 22, 2022 · 2 comments
Labels
area/terraform terraform support issue stage/waiting-for-release Fix has been merged to develop and is waiting for a release type/bug

Comments

@moelasmar
Copy link
Contributor

Description:

Customers are seeing Error: Import error - HookFunctionality module "samcli.hook_packages.terraform.main when attempting to use sam cli commands against terraform projects.

Steps to reproduce:

Observed result:

SAM CLI failed to build the terraform project with this error Error: Import error - HookFunctionality module "samcli.hook_packages.terraform.main"

Expected result:

SAM CLI should build the terraform project without errors.

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: Linux
  2. sam --version: 1.65.0

Add --debug flag to command you are running

@moelasmar moelasmar added type/bug stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. area/terraform terraform support issue and removed stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Nov 22, 2022
@moelasmar
Copy link
Contributor Author

This issue is fixed in this sam nightly release. As a workaround for now, please follow these instructions to install the sam nightly version. We will update this issue once we release this fix.

@moelasmar moelasmar pinned this issue Nov 23, 2022
@hawflau hawflau added the stage/waiting-for-release Fix has been merged to develop and is waiting for a release label Nov 25, 2022
@super132
Copy link
Contributor

SAM CLI released 1.66.0 and Terraform support feature is working when installing through Linux installer. I'm resolving this issue.

@jfuss jfuss unpinned this issue Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/terraform terraform support issue stage/waiting-for-release Fix has been merged to develop and is waiting for a release type/bug
Projects
None yet
Development

No branches or pull requests

3 participants