Comments (5)
Response here : #329
from terraform-provider-ovh.
hi @oschrenk
what kind of object storage platform are you targetting ?
if ever you're targetting our swift object storage, then you have to use the "openstack" provider instead of the "ovh" provider
see:
https://www.terraform.io/docs/providers/openstack/r/objectstorage_object_v1.html
from terraform-provider-ovh.
I don't know the technology you use to back object storage and cloud archive is backed by. I think we might be talking about two different things.
I'm trying to codify the creation of object storage as shown in the public cloud offering
I am especially interested in the object storage and cloud archive storage format - I don't see any way of picking a storage platform like Swift using that UI.
from terraform-provider-ovh.
Hi @oschrenk,
You can create an object storage container with the OpenStack provider:
# https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/objectstorage_container_v1.
resource "openstack_objectstorage_container_v1" "terraform_state_files" {
name = "terraform-state-files"
region = var.ovh_region
versioning {
# Copy the current version to the archive container then remove it from
# the versioned container.
#
# See https://docs.openstack.org/swift/latest/api/object_versioning.html.
type = "history"
location = openstack_objectstorage_container_v1.versioning.name
}
# Default: {}
metadata = var.metadata
}
# https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/objectstorage_container_v1.
resource "openstack_objectstorage_container_v1" "versioning" {
name = "versioning"
region = var.ovh_region
# Default: {}
metadata = var.metadata
}
However, I have no idea how to create a cloud archive container programmatically and it is not documented anywhere...
from terraform-provider-ovh.
Indeed openstack_objectstorage_container_v1
does create a basic swift bucket.
How to create a S3 compatible bucket ?
Thanks in advance 🙏
from terraform-provider-ovh.
Related Issues (20)
- [BUG] ovh_cloud_project_kube_oidc crashed HOT 4
- [FEATURE] Project id (Service name) should not be required HOT 3
- [FEATURE] Support `access_token` based provider authentication HOT 4
- [BUG] ovh_domain_zone_record: can't use ttl default value of '0' HOT 2
- When importing `ovh_cloud_project` it forces replacement HOT 3
- [BUG] Impossible to use terraform to configure a compute instance - No suitable endpoint could be found in the service catalog HOT 2
- [BUG] ovh_dedicated_server_install_task fail on invalid partition schema (with no error) HOT 2
- [FEATURE] Create Gateway Interface using the provider HOT 2
- [FEATURE] Use existing floating IP on gateway HOT 3
- [FEATURE] Missing "description" argument in ovh_dedicated_nasha_partition_access HOT 4
- [BUG] `ovh_cloud_project_kube` requires `load_balancers_subnet_id` but doesn't properly update it on the resource HOT 1
- [FEATURE] : allow dedicated server displayName configuration HOT 5
- [FEATURE] [Logs Data Platform] Get the write token of a logs data stream HOT 4
- [FEATURE] [Logs Data Platform] Setting the retention period of a logs data stream HOT 7
- [BUG] Error: Provider produced inconsistent final plan (resource ovh_cloud_project_database with changed node subnet) HOT 1
- [FEATURE] resource_cloud_project_user_s3_policy - add refresh for policy property HOT 4
- [BUG] ovh_cloud_project has constantly the same change after apply with 0.48.0 HOT 2
- [FEATURE] change whole zone information at one go HOT 3
- [FEATURE] Update MKS cluster to the LATEST_PATCH
- [FEATURE][Logs Data Platform] Dedicated input autoscaling HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-ovh.