mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 08:25:25 +02:00
[GH-ISSUE #85] Please supply a way to pass through terraform init args #44
Labels
No labels
bug
enhancement
enhancement
good first issue
good first issue
good first issue
pipeline
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/terravision#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dnk8n on GitHub (Nov 30, 2023).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/85
For example, for projects that abstract secrets from the remote state config we init like this:
terraform init -backend-config=backend.tfconfFrom what I can gather, terravision only supports
terraform init(no args)@dnk8n commented on GitHub (Nov 30, 2023):
Note, how corresponding templates look in this case:
@patrickchugh commented on GitHub (Dec 2, 2023):
@dnk8n This could be tricky. Running
terraform initandterraform planon an S3 backend or other custom backend that exists will mean terraform in most cases will not create a plan to create all new resources from scratch. I had to implement a workaround by over-riding the backend information that is provided in source with a temporaryoverride.tfthat specifies a local backend which was empty to get around this. Any thoughts on how you would envision this working so that we get a fresh plan to create all the resources every time it is run if we allow passing in backend files during init?@patrickchugh commented on GitHub (Dec 20, 2023):
Didn't hear back so closing