Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource/aws_ssm_document: Fixes for tfproviderlint R006
Reference: #11864 `RetryFunc` should only be used when logic has a retryable condition. In the case of working with the AWS Go SDK, it also arbitrarily restricts the automatic retrying logic of API calls to the timeout, which is generally undesired. Previously: ``` aws/resource_aws_ssm_document.go:213:39: R006: RetryFunc should include RetryableError() handling or be removed ``` Output from acceptance testing: ``` --- PASS: TestAccAWSSSMDocument_basic (26.29s) --- PASS: TestAccAWSSSMDocument_session (37.24s) --- PASS: TestAccAWSSSMDocument_automation (41.32s) --- PASS: TestAccAWSSSMDocument_permission_batching (44.07s) --- PASS: TestAccAWSSSMDocument_params (46.96s) --- PASS: TestAccAWSSSMDocument_SchemaVersion_1 (48.76s) --- PASS: TestAccAWSSSMDocument_DocumentFormat_YAML (51.32s) --- PASS: TestAccAWSSSMDocument_target_type (51.87s) --- PASS: TestAccAWSSSMDocument_Tags (58.75s) --- PASS: TestAccAWSSSMDocument_permission_private (66.11s) --- PASS: TestAccAWSSSMDocument_permission_public (67.63s) --- PASS: TestAccAWSSSMDocument_update (76.88s) --- PASS: TestAccAWSSSMDocument_permission_change (77.82s) --- PASS: TestAccAWSSSMDocument_package (83.33s) ```
- Loading branch information