question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE]: expand terraform support

See original GitHub issue

Feature Request

Background / Motivation

Terraform .13 is out! But also being locked to one version of terraform is pretty limiting 😦

What should the user be able to do?

Specify versions of Terraform besides .12.26.

Why do they want to do this? What problem does it solve?

Use new features / bug fixes in Terraform. for_each for modules!!

Suggested Implementation(s)

Since the CLI interaction with Terraform is pretty stable, I think this would mostly amount to expanding this and doing integration tests. The json output had some changes in .13 but I think it’s just extra fields.

How important is this feature for you/your team?

🌵 Not having this feature makes using Garden painful

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
edvaldcommented, Sep 22, 2020

It doesn’t exactly wrap/extend the exec module, even though it does execute commands locally. I’d hesitate to require Docker for this, because many users will be unable to use it locally, and we don’t want to preclude use of Terraform before a remote cluster is available.

What I think I’ll do is to simply add the latest 0.13 version, as well as allow a null option for the Terraform version, which will direct Garden to use whichever terraform CLI version that’s on the user’s path.

0reactions
jeremiahlewis-vwcommented, Sep 22, 2020

(Will keep pushing for a container-based setup, but understand your justification, thanks!) And thanks for the great tool. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Terraform 1.3 Improves Extensibility and Maintainability of ...
This release introduces optional object type attributes with defaults, and expands the capabilities of moved blocks. These changes improve the ...
Read more >
Extending Terraform – A Deep Dive - Nico Vibert
The first tip I will give anyone who wants to extend Terraform is that they must know the APIs of the product they...
Read more >
Terraform Feature Flags & Environment Toggle Design Patterns
Using Feature Flags and Environment Toggles can help in increasing the flexibility of the Terraform code to better handle multi-Environment ...
Read more >
The Features Block - hashicorp/azurerm - Terraform Registry
The managed_disk block supports the following: expand_without_downtime - (Optional) Specifies whether Managed Disks which can be Expanded without Downtime ...
Read more >
Terraform Feature Flags and Environment Toggles - LinkedIn
Feature flags enable us to flip certain configurations within the Terraform project, or even pass in variables to the project on deployment to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found