fast-nail-55400
04/28/2021, 5:54 PMsrc/python/pants/backend/terraform/tffmt.py:21: note: In module imported here:
src/python/pants/engine/process.py: note: In class "InteractiveRunner":
src/python/pants/engine/process.py:334:2: error: Cannot determine type of
'side_effecting' [has-type]
@side_effecting
^
hundreds-father-404
04/28/2021, 6:07 PMhappy-kitchen-89482
04/29/2021, 2:19 AMhappy-kitchen-89482
04/29/2021, 2:19 AMjolly-midnight-72759
05/13/2021, 7:46 PMjolly-midnight-72759
05/13/2021, 7:46 PMjolly-midnight-72759
05/13/2021, 7:47 PMhundreds-father-404
05/13/2021, 7:47 PMjolly-midnight-72759
05/13/2021, 7:47 PMjolly-midnight-72759
05/13/2021, 7:48 PMjolly-midnight-72759
05/13/2021, 7:51 PMrds_postgres_project
, my thinking was:
terraform_module (
name="rds_postgres_project",
file_targets=[":${name}_files"],
# format="tar.gz",
# dest="s3://...",
version_major_minor="0.5",
# patch is calulated from dest/index.json
# output_path="rds_postgres_project-${version_major_minor}.${patch}.tar.gz"
)
terraform_files(
# name="${dir_name}_files",
# sources=["*.tf", "**/*.tf"],
)
All the commented out options have the shown sane defaults.jolly-midnight-72759
05/13/2021, 7:52 PMpex_binary
and python_libary
work together. Feels a little forced syntax wise, but follows the current thinking of separating the "how to I package it" from the "what is in the package".jolly-midnight-72759
05/13/2021, 7:53 PMfast-nail-55400
05/13/2021, 7:53 PMtangent question:ย @fast-nail-55400ย Are you working on a Terraform Lint/Validate plugin?@jolly-midnight-72759: yes. I wonโt be able to finish it until after PyCon though.
fast-nail-55400
05/13/2021, 7:53 PMjolly-midnight-72759
05/13/2021, 7:53 PMhundreds-father-404
05/13/2021, 7:54 PM"where do I publish"Generally v2 has no precedent for publishing, definitely on my feature wishlist. It's upsetting that Pants's own release process does not use Pants for all of it...we've been chipping away at that
jolly-midnight-72759
05/13/2021, 7:54 PMjolly-midnight-72759
05/13/2021, 7:55 PMjolly-midnight-72759
05/13/2021, 7:55 PMhundreds-father-404
05/13/2021, 7:56 PMpants.backend.experimental
prefix because it's not yet fully feature complete
But, we would be super eager to help if you were interested in adding some of those followup features!jolly-midnight-72759
05/13/2021, 7:57 PMhundreds-father-404
05/13/2021, 7:58 PMjolly-midnight-72759
05/13/2021, 8:05 PMsetproctitle
.jolly-midnight-72759
05/13/2021, 8:05 PMjolly-midnight-72759
05/13/2021, 8:05 PMjolly-midnight-72759
05/13/2021, 8:06 PMhundreds-father-404
05/13/2021, 8:07 PM