chalice icon indicating copy to clipboard operation
chalice copied to clipboard

Terraform Version Packaging

Open evfurman opened this issue 3 years ago • 1 comments

I posted this question in gitter but am following up here...

Is there a way to force Chalice to package for a certain version of terraform? The default behavior appears to package for Terraform 0.11.x as it formats variables like ${variable} in the generated json file.

chalice package --stage dev --pkg-format terraform /tmp/pkg/

Additionally, as a feature request, it would be great to document best practices around Terraform upgrades as they relate to Chalice.

evfurman avatar Dec 17 '21 20:12 evfurman

After seeing the recent issues people were running into with the latest versions of terraform (#1717, #1869), I'm considering having some config option to generate a tf template that only works with 1.x. now that they have compatibility guarantees, and then in chalice v2 only support terraform 1.x.

jamesls avatar Jan 06 '22 19:01 jamesls