-
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
Linting: Restores more Semgrep rules #21800
Conversation
b9bd5b2
to
0a09775
Compare
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.
Lots of good stuff. Minor nit. Otherwise, looks good! 🎉
Output acceptance tests (us-west-2
):
--- PASS: TestAccKMSKey_disappears (14.98s)
--- PASS: TestAccKMSKey_asymmetricKey (18.40s)
--- PASS: TestAccKMSKeyDataSource_multiRegionConfiguration (18.98s)
--- PASS: TestAccKMSKeyDataSource_basic (19.25s)
--- PASS: TestAccKMSKey_multiRegion (21.45s)
--- PASS: TestAccKMSKey_basic (21.62s)
--- PASS: TestAccKMSKeyDataSource_grantToken (29.77s)
--- PASS: TestAccKMSKey_Policy_iamRole (36.56s)
--- PASS: TestAccKMSKey_policyBypassUpdate (37.33s)
--- PASS: TestAccKMSKey_policy (37.36s)
--- PASS: TestAccKMSKey_Policy_iamServiceLinkedRole (46.03s)
--- PASS: TestAccKMSKey_tags (64.46s)
--- PASS: TestAccKMSKey_policyBypass (149.42s)
--- PASS: TestAccKMSKey_isEnabled (390.83s)
--- PASS: TestAccSNSTopic_disappears (27.19s)
--- PASS: TestAccSNSTopicDataSource_basic (32.94s)
--- PASS: TestAccSNSTopicPolicy_disappears (33.87s)
--- PASS: TestAccSNSTopicSubscription_email (34.35s)
--- PASS: TestAccSNSTopic_name (37.87s)
--- PASS: TestAccSNSTopic_NameGenerated_fifoTopic (38.19s)
--- PASS: TestAccSNSTopic_namePrefix (38.19s)
--- PASS: TestAccSNSTopic_withDeliveryPolicy (38.31s)
--- PASS: TestAccSNSTopic_basic (38.38s)
--- PASS: TestAccSNSTopic_policy (38.52s)
--- PASS: TestAccSNSTopic_fifoExpectContentBasedDeduplicationError (4.38s)
--- PASS: TestAccSNSTopic_withIAMRole (49.79s)
--- PASS: TestAccSNSTopic_deliveryStatus (54.49s)
--- PASS: TestAccSNSTopicPolicy_Disappears_topic (23.08s)
--- PASS: TestAccSNSTopic_Name_fifoTopic (28.00s)
--- PASS: TestAccSNSTopic_NamePrefix_fifoTopic (28.23s)
--- PASS: TestAccSNSTopicSubscription_Disappears_topic (75.00s)
--- PASS: TestAccSNSTopicPolicy_basic (25.34s)
--- PASS: TestAccSNSTopicPolicy_updated (50.91s)
--- PASS: TestAccSNSTopicSubscription_basic (79.51s)
--- PASS: TestAccSNSTopic_encryption (44.86s)
--- PASS: TestAccSNSTopic_fifoWithContentBasedDeduplication (44.65s)
--- PASS: TestAccSNSTopicSubscription_disappears (88.05s)
--- PASS: TestAccSNSTopic_tags (53.13s)
--- PASS: TestAccSNSTopicSubscription_rawMessageDelivery (60.55s)
--- PASS: TestAccSNSTopicSubscription_redrivePolicy (124.77s)
--- PASS: TestAccSNSTopicSubscription_filterPolicy (128.02s)
--- PASS: TestAccSNSTopicSubscription_deliveryPolicy (128.06s)
--- PASS: TestAccSNSTopic_withFakeIAMRole (137.57s)
--- PASS: TestAccSNSTopicSubscription_autoConfirmingSecuredEndpoint (108.20s)
--- PASS: TestAccSNSTopicSubscription_firehose (163.80s)
--- PASS: TestAccSNSTopicSubscription_autoConfirmingEndpoint (138.59s)
--- PASS: TestAccSESIdentityNotificationTopic_basic (38.39s)
--- PASS: TestAccECSTaskDefinitionDataSource_ecsTaskDefinition (84.57s)
--- PASS: TestAccECSTaskDefinition_withDockerVolumeMinimal (91.99s)
--- PASS: TestAccECSTaskDefinition_withNetworkMode (92.06s)
--- PASS: TestAccECSTaskDefinition_withDockerVolume (92.12s)
--- PASS: TestAccECSTaskDefinition_Fargate_ephemeralStorage (92.13s)
--- PASS: TestAccECSTaskDefinition_constraint (92.15s)
--- PASS: TestAccECSTaskDefinition_executionRole (96.97s)
--- PASS: TestAccECSTaskDefinition_proxy (100.77s)
--- PASS: TestAccECSTaskDefinition_withTransitEncryptionEFSVolume (102.08s)
--- PASS: TestAccECSTaskDefinition_withEFSVolumeMinimal (102.12s)
--- PASS: TestAccECSTaskDefinition_withEFSVolume (102.12s)
--- PASS: TestAccECSTaskDefinition_withTaskScopedDockerVolume (36.03s)
--- PASS: TestAccECSTaskDefinition_withTaskRoleARN (33.15s)
--- PASS: TestAccECSTaskDefinition_withEFSAccessPoint (44.41s)
--- PASS: TestAccECSTaskDefinition_basic (45.47s)
--- PASS: TestAccECSTaskDefinition_tags (131.33s)
--- PASS: TestAccECSTaskDefinition_withECSService (90.67s)
--- PASS: TestAccECSTaskDefinition_withFSxWinFileSystem (3388.02s)
--- PASS: TestAccECSTaskDefinition_fargate (18.61s)
--- PASS: TestAccECSTaskDefinition_disappears (19.77s)
--- PASS: TestAccECSTaskDefinition_arrays (13.13s)
--- PASS: TestAccECSTaskDefinition_withPidMode (16.51s)
--- PASS: TestAccECSTaskDefinition_changeVolumesForcesNewResource (23.07s)
--- PASS: TestAccECSTaskDefinition_withIPCMode (16.95s)
--- PASS: TestAccECSTaskDefinition_withScratchVolume (12.82s)
--- PASS: TestAccECSTaskDefinition_inferenceAccelerator (13.31s)
internal/service/waf/flex.go
Outdated
@@ -17,7 +17,7 @@ func expandAction(l []interface{}) *waf.WafAction { | |||
} | |||
} | |||
|
|||
func expandOverrideAction(l []interface{}) *waf.WafOverrideAction { | |||
func ExpandOverrideAction(l []interface{}) *waf.WafOverrideAction { |
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.
func ExpandOverrideAction(l []interface{}) *waf.WafOverrideAction { | |
func expandOverrideAction(l []interface{}) *waf.WafOverrideAction { |
It's only used in waf
.
This functionality has been released in v3.66.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. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Restores all currently passing checks as well as the
data-source-with-resource-read
andprefer-aws-go-sdk-pointer-conversion-assignment
rulesRelates #20000
Output from acceptance testing: