Skip to content

chore: revert casing of EFSVolumeConfiguration to prevent breaking changes#10483

Merged
mergify[bot] merged 2 commits intobump/1.64.0from
epolon/ecs-task-defintion-reverse-patch
Sep 22, 2020
Merged

chore: revert casing of EFSVolumeConfiguration to prevent breaking changes#10483
mergify[bot] merged 2 commits intobump/1.64.0from
epolon/ecs-task-defintion-reverse-patch

Conversation

@iliapolo
Copy link
Copy Markdown
Contributor

@iliapolo iliapolo commented Sep 22, 2020

From Eli -

The casing caused resource replacement...and the old casing still worked


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

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Sep 22, 2020

Title does not follow the guidelines of Conventional Commits. Please adjust title before merge.

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Sep 22, 2020
@iliapolo iliapolo marked this pull request as ready for review September 22, 2020 22:08
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Sep 22, 2020

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
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 7513b2d
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Sep 22, 2020

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).

@mergify mergify bot merged commit dd308b6 into bump/1.64.0 Sep 22, 2020
@mergify mergify bot deleted the epolon/ecs-task-defintion-reverse-patch branch September 22, 2020 22:49
@v1pz3n
Copy link
Copy Markdown

v1pz3n commented Sep 12, 2021

@NetaNir Do you have any news about when this modification will be reverted?

rix0rrr added a commit that referenced this pull request Apr 1, 2022
About a year ago, ECS TaskDefinition handler changed the casing of some
EFS-related properties:

* `EfsVolumeConfiguration` -> `EFSVolumeConfiguration`
* `FileSystemId` -> `FilesystemId`

They continue to accept both casings, but emit a warning when the
deprecated casing is used. When the new casing was introduced, we
reverted to the old casing in order to not cause resource replacements.

However:

- The old casings emit warnings; when the service/task creation fails
  due to unrelated reasons, users see the warnings, interpret them as
  errors, then stop looking and come and tell us that there is a bug
  in CDK.
- Task definition replacement isn't actually a problem. Task definitions
  can be replaced for something as trivial as changing CPU count or
  memory size. Replacing them for a change that is effectively a no-op
  shouldn't matter. Yes, this will restart `Service`s based on these
  Task Definitions, but if you are only running 1 copy of the Task
  you have made the decision not to care about potential downtime of
  your service.

Maintaining the patch does not seem worth the cost/benefit ratio.

Reverts #10483, closes #15025.
mergify bot pushed a commit that referenced this pull request Apr 6, 2022
About a year ago, ECS TaskDefinition handler changed the casing of some
EFS-related properties:

* `EfsVolumeConfiguration` -> `EFSVolumeConfiguration`
* `FileSystemId` -> `FilesystemId`

They continue to accept both casings, but emit a warning when the
deprecated casing is used. When the new casing was introduced, we
reverted to the old casing in order to not cause resource replacements.

However:

- The old casings emit warnings; when the service/task creation fails
  due to unrelated reasons, users see the warnings, interpret them as
  errors, then stop looking and come and tell us that there is a bug
  in CDK.
- Task definition replacement isn't actually a problem. Task definitions
  can be replaced for something as trivial as changing CPU count or
  memory size. Replacing them for a change that is effectively a no-op
  shouldn't matter. Yes, this will restart `Service`s based on these
  Task Definitions, but if you are only running 1 copy of the Task
  you have made the decision not to care about potential downtime of
  your service.

Maintaining the patch does not seem worth the cost/benefit ratio.

Reverts #10483, closes #15025.


----

### All Submissions:

* [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)?
	* [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
StevePotter pushed a commit to StevePotter/aws-cdk that referenced this pull request Apr 27, 2022
About a year ago, ECS TaskDefinition handler changed the casing of some
EFS-related properties:

* `EfsVolumeConfiguration` -> `EFSVolumeConfiguration`
* `FileSystemId` -> `FilesystemId`

They continue to accept both casings, but emit a warning when the
deprecated casing is used. When the new casing was introduced, we
reverted to the old casing in order to not cause resource replacements.

However:

- The old casings emit warnings; when the service/task creation fails
  due to unrelated reasons, users see the warnings, interpret them as
  errors, then stop looking and come and tell us that there is a bug
  in CDK.
- Task definition replacement isn't actually a problem. Task definitions
  can be replaced for something as trivial as changing CPU count or
  memory size. Replacing them for a change that is effectively a no-op
  shouldn't matter. Yes, this will restart `Service`s based on these
  Task Definitions, but if you are only running 1 copy of the Task
  you have made the decision not to care about potential downtime of
  your service.

Maintaining the patch does not seem worth the cost/benefit ratio.

Reverts aws#10483, closes aws#15025.


----

### All Submissions:

* [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)?
	* [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants