terraform-github-actions | Terraform GitHub Actions | Continous Integration library
kandi X-RAY | terraform-github-actions Summary
kandi X-RAY | terraform-github-actions Summary
This hashicorp/terraform-github-actions repository is no longer actively developed or maintained. It has been superseded by the hashicorp/setup-terraform GitHub action.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of terraform-github-actions
terraform-github-actions Key Features
terraform-github-actions Examples and Code Snippets
Community Discussions
Trending Discussions on terraform-github-actions
QUESTION
I have the github action workflow outlining the simple process of spinning up terraform to create resources in Azure. What I am missing is how to integrate the terraform state file so that upon sequential runs of this workflow it should compare the current state with the main.tf file and only permit the net changes. At present if I run this sequentially, will always fail the second time because the resources will have already been created in Azure.
How can I configure the github workflow below to permit terraform state file comparison?, I have not found a single source that does this
github action workflow:
...ANSWER
Answered 2020-Oct-18 at 15:17You need to add a backend configuration to your Terraform so it will store the state file somewhere externally, that it can reference and update on each run.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install terraform-github-actions
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page