Skip to content
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

[OBS] - Lifecycle Rules in combination with Metadata/Tags #2839

Open
uli-schneider opened this issue Feb 25, 2025 · 0 comments
Open

[OBS] - Lifecycle Rules in combination with Metadata/Tags #2839

uli-schneider opened this issue Feb 25, 2025 · 0 comments

Comments

@uli-schneider
Copy link

uli-schneider commented Feb 25, 2025

Description of the enhancement

OBS supports now Lifecycle-Rules with Metadata/Tags.

Image

The relevant API Documentation:
https://docs.otc.t-systems.com/object-storage-service/api-ref/apis/advanced_bucket_settings/configuring_bucket_lifecycle_rules.html

From Console Debugging, an example XML Snipplet.

<LifecycleConfiguration>
	<Rule>
		<ID>rule-metadata-tags</ID>
		<Status>Enabled</Status>
		<Filter>
			<And>
				<Prefix></Prefix>
				<Tag>
					<Key>terraform</Key>
					<Value>true</Value>
				</Tag>
				<Tag>
					<Key>OTC</Key>
					<Value>first_choice</Value>
				</Tag>
			</And>
		</Filter>
		<Transition>
			<StorageClass>WARM</StorageClass>
			<Days>30</Days>
		</Transition>
	</Rule>
</LifecycleConfiguration>

Please provide this feature via Go-SDK and terraform provider.

PLease add also ann example to tf-documentation, how to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant