-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Resource aws athena workgroup #12254
Resource aws athena workgroup #12254
Conversation
… gen' command and commit. GNUmakefile:36: recipe for target 'gencheck' failed make: *** [gencheck] Error 1 The command "make gencheck" exited with 2.
… gen' command and commit. GNUmakefile:36: recipe for target 'gencheck' failed make: *** [gencheck] Error 1 The command "make gencheck" exited with 2.
gofmt -s -w ./aws
@leppikallio @teraken0509 This looks like the same functionality as #10111 but implemented via the API |
Oh, how embarrassing to even admit but I didn't notice the one and original from @teraken0509 which is obviously quite a bit more elegant way to achieve the goal. Thank you @ewbankkit for pointing this out. |
@leppikallio Using the API-provided mechanism is simpler and means less code to maintain over the long term. Maybe use some of the ideas from #10111 (e.g. name the attribute |
…p#12254](hashicorp#12254), changed the optional feature to `force_destroy`instead of `recursive_delete_option`. Added test case inspired by @teraken0509, [resource_aws_athena_workgroup_test.go](https://github.com/teraken0509/terraform-provider-aws/blob/feature/add-force_destroy-attribute-for-aws_athena_workgroup-resource/aws/resource_aws_athena_workgroup_test.go) Updated the documentation / help page to reflect the change.
Based on comments from @ewbankkit I changed the optional feature to Added test case inspired by @teraken0509 , resource_aws_athena_workgroup_test.go Updated the documentation / help page to reflect the change. |
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.
Looks great, thanks @leppikallio 🚀
Output from acceptance testing:
--- PASS: TestAccAWSAthenaWorkGroup_disappears (13.52s)
--- PASS: TestAccAWSAthenaWorkGroup_basic (17.71s)
--- PASS: TestAccAWSAthenaWorkGroup_Configuration_PublishCloudWatchMetricsEnabled (20.62s)
--- PASS: TestAccAWSAthenaWorkGroup_Configuration_ResultConfiguration_EncryptionConfiguration_SseS3 (21.41s)
--- PASS: TestAccAWSAthenaWorkGroup_Configuration_EnforceWorkgroupConfiguration (23.30s)
--- PASS: TestAccAWSAthenaWorkGroup_Configuration_BytesScannedCutoffPerQuery (35.04s)
--- PASS: TestAccAWSAthenaWorkGroup_Description (35.46s)
--- PASS: TestAccAWSAthenaWorkGroup_ForceDestroy (36.53s)
--- PASS: TestAccAWSAthenaWorkGroup_Configuration_ResultConfiguration_OutputLocation (37.56s)
--- PASS: TestAccAWSAthenaWorkGroup_Tags (39.00s)
--- PASS: TestAccAWSAthenaWorkGroup_Configuration_ResultConfiguration_EncryptionConfiguration_Kms (41.25s)
--- PASS: TestAccAWSAthenaWorkGroup_Configuration_ResultConfiguration_OutputLocation_ForceDestroy (50.81s)
--- PASS: TestAccAWSAthenaWorkGroup_State (51.30s)
This has been released in version 2.55.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! |
Community Note
Relates to #10085
Release note for CHANGELOG:
Output from acceptance testing: