[GH-ISSUE #105] S3 backends #52

Closed
opened 2026-05-06 12:36:46 +02:00 by BreizhHardware · 3 comments

Originally created by @gokhanboranalp on GitHub (Feb 20, 2024).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/105

whta to do, if the backend is S3 bucket?

Originally created by @gokhanboranalp on GitHub (Feb 20, 2024). Original GitHub issue: https://github.com/patrickchugh/terravision/issues/105 whta to do, if the backend is S3 bucket?
Author
Owner

@patrickchugh commented on GitHub (Feb 21, 2024):

The backend is overriden at runtime to be local so TF plan can be read, is that not working ? Any error?

<!-- gh-comment-id:1955754663 --> @patrickchugh commented on GitHub (Feb 21, 2024): The backend is overriden at runtime to be local so TF plan can be read, is that not working ? Any error?
Author
Owner

@bman654 commented on GitHub (Nov 12, 2024):

yes for me it does NOT override backend:

Preflight check..
  dot command detected: /opt/homebrew/bin/dot
  gvpr command detected: /opt/homebrew/bin/gvpr
  git command detected: /opt/homebrew/bin/git
  terraform command detected: /usr/local/bin/terraform

Checking Terraform Version...

Terraform v1.9.4
Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
╷
│ Error: Error refreshing state: Unable to access object "terraform.tfstate" in S3 bucket "mybucketname": operation error S3: HeadObject, https response error StatusCode: 403, RequestID: PJ504JFXJXCCR8N5, HostID: n0ykDpMOL5v4Qpg8vZe3AJqUVUeiIc9teLUI9YLIdbeaHlcZPV5AnHbB+Qskpw2M1l9MChNlIZOIBBhuCoEacxyA5+lIF2OK, api error Forbidden: Forbidden
│ 
<!-- gh-comment-id:2470995784 --> @bman654 commented on GitHub (Nov 12, 2024): yes for me it does NOT override backend: ``` Preflight check.. dot command detected: /opt/homebrew/bin/dot gvpr command detected: /opt/homebrew/bin/gvpr git command detected: /opt/homebrew/bin/git terraform command detected: /usr/local/bin/terraform Checking Terraform Version... Terraform v1.9.4 Initializing the backend... Successfully configured the backend "s3"! Terraform will automatically use this backend unless the backend configuration changes. ╷ │ Error: Error refreshing state: Unable to access object "terraform.tfstate" in S3 bucket "mybucketname": operation error S3: HeadObject, https response error StatusCode: 403, RequestID: PJ504JFXJXCCR8N5, HostID: n0ykDpMOL5v4Qpg8vZe3AJqUVUeiIc9teLUI9YLIdbeaHlcZPV5AnHbB+Qskpw2M1l9MChNlIZOIBBhuCoEacxyA5+lIF2OK, api error Forbidden: Forbidden │ ```
Author
Owner

@patrickchugh commented on GitHub (Jan 3, 2026):

you should have an override.tf file copied by terravision that will force local state just for diagramming purposes, you can delete the file later if needed.

<!-- gh-comment-id:3706539991 --> @patrickchugh commented on GitHub (Jan 3, 2026): you should have an override.tf file copied by terravision that will force local state just for diagramming purposes, you can delete the file later if needed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/terravision#52
No description provided.