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

fix(efs): fix bug when setting both lifecyclePolicy and outOfInfrequentAccessPolicy #19082

Merged
merged 9 commits into from Mar 1, 2022

Conversation

robertd
Copy link
Contributor

@robertd robertd commented Feb 22, 2022

Closes #19058

Most likely this was an oversight in CloudFormation docs. Submitted a PR for CF docs here: awsdocs/aws-cloudformation-user-guide#1165

Here are the API docs showing the proper parameters for LifecyclePolicies: https://docs.aws.amazon.com/efs/latest/ug/API_PutLifecycleConfiguration.html

image

Screen Shot 2022-02-21 at 5 14 50 PM

Screen Shot 2022-02-21 at 5 14 57 PM


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Feb 22, 2022

@github-actions github-actions bot added the @aws-cdk/aws-efs Related to Amazon Elastic File System label Feb 22, 2022
robertd and others added 2 commits February 21, 2022 18:23
Closes aws#18918

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@robertd robertd changed the title fix(efs): lifecycle policies expects up to two lists containing a single lifecycle policy fix(efs): fix bug when setting both lifecyclePolicy and outOfInfrequentAccessPolicy Feb 22, 2022
@robertd
Copy link
Contributor Author

robertd commented Feb 22, 2022

Hi @corymhall. This PR is ready for your review. TIA.

Copy link
Contributor

@corymhall corymhall left a comment

Choose a reason for hiding this comment

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

@robertd thanks for this fix! Just one minor comment.

packages/@aws-cdk/aws-efs/lib/efs-file-system.ts Outdated Show resolved Hide resolved
@mergify mergify bot dismissed corymhall’s stale review March 1, 2022 04:05

Pull request has been modified.

@mergify
Copy link
Contributor

mergify bot commented Mar 1, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 6d6f5b4
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit d435ab6 into aws:master Mar 1, 2022
@mergify
Copy link
Contributor

mergify bot commented Mar 1, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

TheRealAmazonKendra pushed a commit to TheRealAmazonKendra/aws-cdk that referenced this pull request Mar 11, 2022
…ntAccessPolicy (aws#19082)

Closes aws#19058

Most likely this was an oversight in CloudFormation docs. Submitted a PR for CF docs here: awsdocs/aws-cloudformation-user-guide#1165

Here are the API docs showing the proper parameters for LifecyclePolicies: https://docs.aws.amazon.com/efs/latest/ug/API_PutLifecycleConfiguration.html

<img width="418" alt="image" src="https://user-images.githubusercontent.com/31543/155045177-308d0608-bc11-4150-8d5f-b7da7f8f5b01.png">
<img width="1226" alt="Screen Shot 2022-02-21 at 5 14 50 PM" src="https://user-images.githubusercontent.com/31543/155045111-31e9d9b5-99b1-404f-bee7-61dd3e2751f2.png">
<img width="679" alt="Screen Shot 2022-02-21 at 5 14 57 PM" src="https://user-images.githubusercontent.com/31543/155045114-a56c68f7-60f4-4a6c-946a-1231cdf84448.png">

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@robertd robertd deleted the robertd/efs branch April 8, 2022 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-efs Related to Amazon Elastic File System
Projects
None yet
3 participants