-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
enable using S3 as Terraform backend #1654
Comments
Can you explain your use-case? Currently you can push the tfstate up to S3 whenever you like, so I don't see a need to bake that in to the installer itself. |
Pushing tfstate to S3 manually is one of the options, of course. I am installing multiple clusters for development/testing purposes every day.
after cluster isn't needed anymore, i just run a job with clustername and destroy all related infrastructure. I know i can use the same approach here but it's easier to store state file directly to S3 Bucket by terraform and not take care about it when provisioning cluster with this installer. Your call, thanks anyways. |
The tfstate has nothing to do with cluster-teardown (because it doesn't know about resources the cluster created for itself after we've moved beyond teardown). You can almost clean up your cluster now with its infrastructure name (#1280, see here for a works-for-me example), and things like openshift/cluster-image-registry-operator#260 are working towards removing the remaining You might also be interested in Hive, which allows you to store that metadata in a separate, controlling cluster for future removal. That's going to be more robust than recreating your /close |
@wking: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I understand the limitations mentioned but i do believe it would be worthy diving a bit deeper into terraform backend integration. Or else, for users that already use terraform, they would need to use separate toolings (which is probably the point of terraform in the first place).... |
Version
Platform (aws|libvirt|openstack):
aws
Is there any plan to add S3 as terraform backend when provisioning Openshift on AWS?
right now, tfstate file is stored (by default) in current dir. It would be great if S3 bucket can be used for this.
The text was updated successfully, but these errors were encountered: