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

r/ecs_task_definition: support EFS Volume #11707

Merged
merged 5 commits into from
Jan 22, 2020

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Jan 22, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Release note for CHANGELOG:

resource_aws_ecs_task_definition: add EFS Volume support, add plan time validation to `placement_constraints.type`, `task_role_arn` and `execution_role_arn`.

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSEcsTaskDefinition_'
--- PASS: TestAccAWSEcsTaskDefinition_basic (63.83s)
--- PASS: TestAccAWSEcsTaskDefinition_withScratchVolume (34.38s)
--- PASS: TestAccAWSEcsTaskDefinition_withDockerVolume (45.59s)
--- PASS: TestAccAWSEcsTaskDefinition_withDockerVolumeMinimalConfig (35.03s)
--- PASS: TestAccAWSEcsTaskDefinition_withEFSVolume (62.60s)
--- PASS: TestAccAWSEcsTaskDefinition_withEFSVolumeMinimal (62.59s)
--- PASS: TestAccAWSEcsTaskDefinition_withTaskScopedDockerVolume (45.90s)
--- PASS: TestAccAWSEcsTaskDefinition_withEcsService (137.22s)
--- PASS: TestAccAWSEcsTaskDefinition_withTaskRoleArn (58.24s)
--- PASS: TestAccAWSEcsTaskDefinition_withNetworkMode (55.05s)
--- PASS: TestAccAWSEcsTaskDefinition_withIPCMode (45.99s)
--- PASS: TestAccAWSEcsTaskDefinition_withPidMode (46.17s)
--- PASS: TestAccAWSEcsTaskDefinition_constraint (39.71s)
--- PASS: TestAccAWSEcsTaskDefinition_changeVolumesForcesNewResource (61.38s)
--- PASS: TestAccAWSEcsTaskDefinition_arrays (35.52s)
--- PASS: TestAccAWSEcsTaskDefinition_Fargate (50.31s)
--- PASS: TestAccAWSEcsTaskDefinition_ExecutionRole (44.48s)
--- PASS: TestAccAWSEcsTaskDefinition_Inactive (58.79s)
--- PASS: TestAccAWSEcsTaskDefinition_Tags (91.53s)
--- PASS: TestAccAWSEcsTaskDefinition_ProxyConfiguration (43.49s)

@DrFaust92 DrFaust92 requested a review from a team January 22, 2020 13:45
@ghost ghost added needs-triage Waiting for first response or review from a maintainer. size/XL Managed by automation to categorize the size of a PR. service/ecs Issues and PRs that pertain to the ecs service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Jan 22, 2020
@DrFaust92 DrFaust92 changed the title r/ecs_task_definition: support EFS Volume [WIP]r/ecs_task_definition: support EFS Volume Jan 22, 2020
add import tests
add full efs test case
@ghost ghost added the documentation Introduces or discusses updates to documentation. label Jan 22, 2020
@DrFaust92 DrFaust92 changed the title [WIP]r/ecs_task_definition: support EFS Volume r/ecs_task_definition: support EFS Volume Jan 22, 2020
@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Jan 22, 2020
@DrFaust92
Copy link
Collaborator Author

fixed!

@bflad bflad added this to the v2.46.0 milestone Jan 22, 2020
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

LGTM, nice work @DrFaust92 🚀

Output from acceptance testing:

--- PASS: TestAccAWSEcsTaskDefinition_arrays (21.45s)
--- PASS: TestAccAWSEcsTaskDefinition_basic (27.24s)
--- PASS: TestAccAWSEcsTaskDefinition_changeVolumesForcesNewResource (27.01s)
--- PASS: TestAccAWSEcsTaskDefinition_constraint (21.79s)
--- PASS: TestAccAWSEcsTaskDefinition_ExecutionRole (34.15s)
--- PASS: TestAccAWSEcsTaskDefinition_Fargate (30.51s)
--- PASS: TestAccAWSEcsTaskDefinition_Inactive (27.00s)
--- PASS: TestAccAWSEcsTaskDefinition_ProxyConfiguration (21.63s)
--- PASS: TestAccAWSEcsTaskDefinition_Tags (32.34s)
--- PASS: TestAccAWSEcsTaskDefinition_withDockerVolume (20.75s)
--- PASS: TestAccAWSEcsTaskDefinition_withDockerVolumeMinimalConfig (21.06s)
--- PASS: TestAccAWSEcsTaskDefinition_withEcsService (82.60s)
--- PASS: TestAccAWSEcsTaskDefinition_withEFSVolume (27.35s)
--- PASS: TestAccAWSEcsTaskDefinition_withEFSVolumeMinimal (28.78s)
--- PASS: TestAccAWSEcsTaskDefinition_withIPCMode (24.12s)
--- PASS: TestAccAWSEcsTaskDefinition_withNetworkMode (24.71s)
--- PASS: TestAccAWSEcsTaskDefinition_withPidMode (24.49s)
--- PASS: TestAccAWSEcsTaskDefinition_withScratchVolume (21.67s)
--- PASS: TestAccAWSEcsTaskDefinition_withTaskRoleArn (20.88s)
--- PASS: TestAccAWSEcsTaskDefinition_withTaskScopedDockerVolume (22.27s)

@bflad bflad merged commit 5b7890d into hashicorp:master Jan 22, 2020
bflad added a commit that referenced this pull request Jan 22, 2020
@ghost
Copy link

ghost commented Jan 23, 2020

This has been released in version 2.46.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@DrFaust92 DrFaust92 deleted the r/ecs_task_def_efs branch January 24, 2020 16:26
@Tritium-VLK
Copy link

Note that the documentation is still confusing here. Would fix it, but not sure where to commit.

@bflad
Copy link
Contributor

bflad commented Jan 29, 2020

@BenLeibig are you looking for website/docs/r/ecs_task_definition.html.markdown?

@ghost
Copy link

ghost commented Mar 27, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/ecs Issues and PRs that pertain to the ecs service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants