Skip to content

feat: switch to ovh provider for buckets#85

Merged
fredleger merged 5 commits intohoverkraft-tech:mainfrom
Libr4rian:ovh-bucket
Mar 17, 2026
Merged

feat: switch to ovh provider for buckets#85
fredleger merged 5 commits intohoverkraft-tech:mainfrom
Libr4rian:ovh-bucket

Conversation

@Libr4rian
Copy link
Contributor

No description provided.

@fredleger fredleger changed the title feat: switch to ovh provider for buckets WIP: feat: switch to ovh provider for buckets Dec 17, 2025
@fredleger
Copy link
Contributor

@Libr4rian i put it on Work in Progress for now don't hesitate to ping me when ready, i can help you if you need

@fredleger
Copy link
Contributor

@Libr4rian any update here ? I would love to merge them.

@Libr4rian
Copy link
Contributor Author

@Libr4rian any update here ? I would love to merge them.

Yes you can !

@fredleger fredleger changed the title WIP: feat: switch to ovh provider for buckets feat: switch to ovh provider for buckets Jan 28, 2026
Copy link
Contributor

@fredleger fredleger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we have a breaking change we must before merging this one, upgrade all OVH deps in this repo. Then rebase this PR and merge it.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request migrates the OVH bucket module from using the OpenStack provider to the native OVH provider version 2.1. The change modernizes the infrastructure code by using OVH's dedicated Terraform resources instead of the generic OpenStack API.

Changes:

  • Upgraded OVH provider from version 0.26.0 to 2.1 and removed OpenStack provider dependency
  • Replaced openstack_objectstorage_container_v1 resource with ovh_cloud_project_storage resource
  • Refactored variables: renamed region to region_name, removed ovh_write_user, and added cloud_project_id, owner_id, versioning_enabled, and encryption_enabled

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
ovh/bucket/providers.tf Updated OVH provider version constraint from ~> 0.26.0 to ~> 2.1 and removed OpenStack provider
ovh/bucket/variables.tf Renamed region to region_name, removed ovh_write_user, and added new variables for cloud project ID, owner ID, versioning, and encryption
ovh/bucket/bucket.tf Replaced OpenStack container resource with OVH cloud project storage resource, including versioning and encryption configuration
ovh/bucket/main.tf Updated variable reference from var.region to var.region_name
ovh/bucket/outputs.tf Updated resource references from openstack_objectstorage_container_v1.bucket to ovh_cloud_project_storage.storage
ovh/bucket/README.md Updated documentation to reflect new provider version, variables, and resources

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Libr4rian and others added 4 commits March 15, 2026 20:47
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@fredleger fredleger merged commit 4e8f3af into hoverkraft-tech:main Mar 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants