sparse-intern-71089
07/06/2021, 3:32 PMmany-yak-61188
07/06/2021, 3:33 PMpulumi preview
. The workflow file is here : https://gist.github.com/maddalab/5eefdad3bd51005b8fe678e219c1b6e7many-yak-61188
07/06/2021, 3:34 PMpoetry
the pyproject.toml file is
[tool.poetry]
name = "accrue-infrastructure"
version = "0.1.0"
description = ""
authors = ["Bhaskar Maddala <maddalab@gmail.com>"]
[tool.poetry.dependencies]
python = "^3.8"
pulumi-aws = "^4.10.0"
pulumi = "^3.6.0"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
pre-commit = "^2.13.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
many-yak-61188
07/06/2021, 3:35 PMpulumi preview --stack dev
or alternatively if environment is not activated poetry run pulumi preview --stack dev
many-yak-61188
07/06/2021, 3:36 PMmodule not found error
which is entirely on the python path setupmany-yak-61188
07/06/2021, 3:37 PMRun snok/install-poetry@v1.1.6
with:
virtualenvs-create: false
version: 1.1.6
virtualenvs-in-project: false
virtualenvs-path: {cache-dir}/virtualenvs
env:
PULUMI_CONFIG_PASSPHRASE: ***
pythonLocation: /opt/hostedtoolcache/Python/3.8.10/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.10/x64/lib
AWS_DEFAULT_REGION: us-east-1
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: ***
AWS_SECRET_ACCESS_KEY: ***
i'm assuming the false
indicate that dependencies are installed in global python environmentmany-yak-61188
07/06/2021, 3:38 PMFile "/opt/hostedtoolcache/pulumi/3.6.0/x64/pulumi-language-python-exec", line 14, in <module>
import pulumi
many-yak-61188
07/06/2021, 3:39 PMpulumi/actions
and snok/install-poetry@v1.1.6
respect the python version specified in actions/setup-python@v2
many-yak-61188
07/06/2021, 3:39 PMmany-yak-61188
07/06/2021, 4:15 PM