crossplane-contrib / provider-upjet-aws

Official AWS Provider for Crossplane by Upbound.
https://marketplace.upbound.io/providers/upbound/provider-aws
Apache License 2.0
137 stars 113 forks source link

EFS FileSystem Support Of Lifecycle Policies - Transition to Archive #1243

Open jacob-kuder opened 3 months ago

jacob-kuder commented 3 months ago

What problem are you facing?

The AWS EFS provider does not allow you to configure archive lifecycle policies for EFS file systems. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-lifecyclepolicy.html image

How could Official AWS Provider help solve your problem?

Update the existing EFS FileSystem to support this feature so we can easily transition EFS to Archive storage. https://marketplace.upbound.io/providers/upbound/provider-aws-efs/v1.2.1/resources/efs.aws.upbound.io/FileSystem/v1beta1

turkenf commented 1 month ago

Hi @jacob-kuder,

Could you give more information about what kind of support you would like and which fields you would like to be added? Are these fields available in the underlying terraform provider?

jacob-kuder commented 1 month ago

Hey @turkenf,

So, Terraform itself offers the transition to Archive functionality, shown here in their docs: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/efs_file_system#lifecycle_policy-block

We are requesting similar functionality in the EFS provider...maybe something like transitionToArchive or similar. We'd like to see this added to the AWS EFS provider instead of through the Terraform provider.

turkenf commented 1 month ago

Thank you for your quick response, @jacob-kuder. This field was introduced in a newer version (5.32.0) than the version (5.31.0) we currently use.

When we upgrade the underlying provider, the field will be available.

jacob-kuder commented 1 month ago

Sounds perfect; thank you!