Github Actions & OpenTF #411
Replies: 3 comments 5 replies
-
@John-Donalson thank you for this example of getting opentf to work with GHA as it stands today. I actually was popping on here to advocate for yet another fork, this time of the setup-terraform Action. We use this Action quite heavily in our environment, and it would be valuable to us to have a drop-in replacement for this as well. |
Beta Was this translation helpful? Give feedback.
-
Relevant issue: #556 |
Beta Was this translation helpful? Give feedback.
-
Hey @John-Donalson, this seems to have picked up traction over in issue #556 as an accepted enhancement, which is assigned by @cube2222 to @kislerdm. As per @jschwanz's suggestion, there is a new opentofu/setup-opentofu work-in-progress project in order to support a drop-in replacement (perhaps this is of interest to @PawelHaracz). |
Beta Was this translation helpful? Give feedback.
-
Here is a working github actions for AWS and opentf,
Obviously you would need to define aws secrets in github secrets,
set the vars in variables, and .tfvars and apply to commands...
but it works.
workflow.yml
dev.tfvars
variables.tf
Beta Was this translation helpful? Give feedback.
All reactions