-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[State] Feat: Added Remote backend option for S3, GCS and Azblob #10
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a generic implementation for all cloud providers, correct? So, aws S3, gcs and Azure Blob Storage should work just fine yeah?
NICEEE
state/backend.go
Outdated
switch cfg.StateBackend.Type { | ||
s := NewEmptyState() | ||
switch { | ||
case config.Contains(config.StateBackendTypes[1:], cfg.StateBackend.Type): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we reference the RemoteBackendTypes
from here, instead of using indexes. It could get messy and difficult to debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a generic implementation for all cloud providers, correct? So, aws S3, gcs and Azure Blob Storage should work just fine yeah?
NICEEE
Yeah the gocloud library handles storage consistency across cloud providers perfectly, we might like to do something similar for python
Part of fix for #4