-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Assign EfsVolumeConfiguration when present #12571
Conversation
definitely a copypasta error from my side. |
Sure, i can give it a try, before that tho what do you expect will it cost to run acceptance? Not too concerned, just want to know: Pennies? Dollars? Gold bars? :P Can you shortcut me and give me the acceptance test command you would expect for this? Also: Wondering how this got past spec, as that test seems to actually assert that the efs volume is properly attached, no? |
@deanshelton913, as it creates and destroys and ecs task def + efs file system. pennies in the worst case? this is how i run this: I'm guessing this means that i'll investigate this as well. but your fix is needed either way |
Your test command is now showing up for me in your comment above, here is what i just ran: make testacc TEST=./aws TESTARGS='-run=TestAccAWSEcsTaskDefinition_withEFSVolumeMinimal'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSEcsTaskDefinition_withEFSVolumeMinimal -timeout 120m
=== RUN TestAccAWSEcsTaskDefinition_withEFSVolumeMinimal
=== PAUSE TestAccAWSEcsTaskDefinition_withEFSVolumeMinimal
=== CONT TestAccAWSEcsTaskDefinition_withEFSVolumeMinimal
--- PASS: TestAccAWSEcsTaskDefinition_withEFSVolumeMinimal (26.98s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 28.360s |
Thats odd... the test fixture |
Confirmed using the ol' "Find the |
If we merge this in, how soon will we see it in production? |
@DrFaust92 Any word on this? |
@deanshelton913, (unfortunately) i am not maintainer so i cant help speeding this up. |
@deanshelton913 , i have found the issue with this! its related to the fact that i didnt address hash diff for state. its being addressed in #12751 i needed to use your fix in my PR for it to work, but i didnt bother to rebase it on top of your branch over a single line. |
Schweet. Glad it all worked out. I put a 👍 on your PR. My job is done here. 🦸♂️ I suppose we can close this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging this in with #12571, thanks so much @deanshelton913 🚀
Output from acceptance testing:
--- PASS: TestAccAWSEcsTaskDefinition_arrays (14.80s)
--- PASS: TestAccAWSEcsTaskDefinition_basic (20.00s)
--- PASS: TestAccAWSEcsTaskDefinition_changeVolumesForcesNewResource (19.79s)
--- PASS: TestAccAWSEcsTaskDefinition_constraint (14.97s)
--- PASS: TestAccAWSEcsTaskDefinition_ExecutionRole (20.43s)
--- PASS: TestAccAWSEcsTaskDefinition_Fargate (19.62s)
--- PASS: TestAccAWSEcsTaskDefinition_Inactive (19.78s)
--- PASS: TestAccAWSEcsTaskDefinition_inferenceAccelerator (29.51s)
--- PASS: TestAccAWSEcsTaskDefinition_ProxyConfiguration (35.61s)
--- PASS: TestAccAWSEcsTaskDefinition_Tags (31.04s)
--- PASS: TestAccAWSEcsTaskDefinition_withDockerVolume (14.90s)
--- PASS: TestAccAWSEcsTaskDefinition_withDockerVolumeMinimalConfig (14.80s)
--- PASS: TestAccAWSEcsTaskDefinition_withEcsService (73.57s)
--- PASS: TestAccAWSEcsTaskDefinition_withEFSVolume (21.90s)
--- PASS: TestAccAWSEcsTaskDefinition_withEFSVolumeMinimal (21.71s)
--- PASS: TestAccAWSEcsTaskDefinition_withIPCMode (37.86s)
--- PASS: TestAccAWSEcsTaskDefinition_withNetworkMode (16.56s)
--- PASS: TestAccAWSEcsTaskDefinition_withPidMode (28.57s)
--- PASS: TestAccAWSEcsTaskDefinition_withScratchVolume (13.22s)
--- PASS: TestAccAWSEcsTaskDefinition_withTaskRoleArn (20.50s)
--- PASS: TestAccAWSEcsTaskDefinition_withTaskScopedDockerVolume (13.30s)
This has been released in version 2.64.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! |
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! |
EFS never assigned?
I could be totally wrong, but I think this statement was copypasta from the if statement before.
Community Note
Relates OR Closes #0000
Release note for CHANGELOG:
Output from acceptance testing: