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

Fixes errorlint reports for internal packages and data sources A-E #17518

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

gdavison
Copy link
Contributor

@gdavison gdavison commented Feb 9, 2021

Fixes errorlint reports for internal packages and data sources A-E.

Relates #15891

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSCodeCommitRepositoryDataSource\|TestAccAWSCallerIdentity\|TestAccDataSourceAwsCognitoUserPools\|TestAccAWSAcmCertificateDataSource\|TestAccAWSCloudFrontDataSourceOriginRequestPolicy\|TestAccDataSourceAwsApiGatewayDomainName\|TestAccAWSAvailabilityZones\|TestAccDataSourceAwsAcmpcaCertificateAuthority\|TestAccDataSourceAwsApiGatewayVpcLink\|TestAccDataSourceAwsApiGatewayApiKey\|TestAccAWSAmiDataSource\|TestAccAWSDataSourceCloudFrontDistribution\|TestAccAWSBackupVaultDataSource\|TestAccAWSDbEventCategories\|TestAccDataSourceAwsApiGatewayResource\|TestAccDataSourceAwsArn\|TestAccAWSDbClusterSnapshotDataSource\|TestAccDataSourceAwsApiGatewayRestApi\|TestAccAWSCloudFormationStack\|TestAccAWSAutoscalingGroups\|TestAccAWSCloudformationExportDataSource\|TestAccAWSCloudwatchLogGroupDataSource\|TestAvailabilityZonesSort\|TestAccAWSCustomerGatewayDataSource\|TestAccAWSBackupSelectionDataSource\|TestAccAWSBackupPlanDataSource\|TestAccDataSourceCloudHsmV2Cluster\|TestAccDataSourceAwsBatchJobQueue'

--- SKIP: TestAccAWSAcmCertificateDataSource_singleIssued (0.00s)
--- SKIP: TestAccAWSAcmCertificateDataSource_multipleIssued (0.00s)
--- SKIP: TestAccAWSAcmCertificateDataSource_noMatchReturnsError (0.00s)
--- PASS: TestAvailabilityZonesSort (0.00s)
--- PASS: TestAccAWSAvailabilityZones_basic (48.19s)
--- PASS: TestAccDataSourceAwsApiGatewayApiKey_basic (49.18s)
--- PASS: TestAccAWSAvailabilityZones_AllAvailabilityZones (48.82s)
--- PASS: TestAccDataSourceAwsApiGatewayRestApi_basic (50.35s)
--- PASS: TestAccAWSAvailabilityZones_Filter (49.93s)
--- PASS: TestAccDataSourceAwsArn_basic (50.66s)
--- PASS: TestAccAWSAvailabilityZones_ExcludeZoneIds (50.15s)
--- PASS: TestAccAWSAvailabilityZones_ExcludeNames (50.95s)
--- PASS: TestAccAWSAmiDataSource_natInstance (57.99s)
--- PASS: TestAccAWSAmiDataSource_windowsInstance (58.17s)
--- PASS: TestAccAWSAmiDataSource_instanceStore (60.02s)
--- PASS: TestAccDataSourceAwsAcmpcaCertificateAuthority_basic (60.70s)
--- PASS: TestAccAWSAmiDataSource_localNameFilter (62.26s)
--- PASS: TestAccAWSAcmCertificateDataSource_KeyTypes (66.38s)
--- PASS: TestAccAWSAvailabilityZones_stateFilter (36.18s)
--- PASS: TestAccAWSAmiDataSource_Gp3BlockDevice (84.99s)
--- PASS: TestAccAWSCallerIdentity_basic (34.80s)
--- PASS: TestAccAWSBackupPlanDataSource_basic (37.47s)
--- PASS: TestAccAWSBackupVaultDataSource_basic (36.30s)
--- PASS: TestAccAWSBackupSelectionDataSource_basic (38.16s)
--- PASS: TestAccAWSCloudwatchLogGroupDataSource_basic (28.20s)
--- PASS: TestAccAWSCloudFrontDataSourceOriginRequestPolicy_basic (34.56s)
--- PASS: TestAccDataSourceAwsApiGatewayResource_basic (98.18s)
--- PASS: TestAccDataSourceAwsApiGatewayDomainName_basic (99.47s)
--- PASS: TestAccAWSCloudformationExportDataSource_basic (52.75s)
--- PASS: TestAccAWSCloudwatchLogGroupDataSource_tags (31.88s)
--- PASS: TestAccAWSCodeCommitRepositoryDataSource_basic (32.61s)
--- PASS: TestAccAWSCloudwatchLogGroupDataSource_retention (33.93s)
--- PASS: TestAccAWSCloudwatchLogGroupDataSource_kms (34.85s)
--- FAIL: TestAccAWSDbEventCategories_basic (21.71s)
--- PASS: TestAccDataSourceAwsCognitoUserPools_basic (41.07s)
--- PASS: TestAccAWSCustomerGatewayDataSource_Filter (43.40s)
--- PASS: TestAccAWSCustomerGatewayDataSource_ID (39.86s)
--- PASS: TestAccAWSDbEventCategories_sourceType (20.67s)
--- PASS: TestAccAWSCloudformationExportDataSource_ResourceReference (89.42s)
--- PASS: TestAccAWSAutoscalingGroups_basic (143.38s)
--- PASS: TestAccAWSCloudFormationStack_dataSource_yaml (90.77s)
--- PASS: TestAccAWSCloudFormationStack_dataSource_basic (91.67s)
--- PASS: TestAccAWSCloudFormationStackSet_basic (18.93s)
--- PASS: TestAccAWSCloudFormationStackSet_disappears (15.85s)
--- SKIP: TestAccAWSCloudFormationStackSet_Parameters_Default (0.00s)
--- SKIP: TestAccAWSCloudFormationStackSet_Parameters_NoEcho (0.00s)
--- PASS: TestAccDataSourceAwsApiGatewayRestApi_EndpointConfiguration_VpcEndpointIds (162.69s)
--- PASS: TestAccDataSourceAwsBatchJobQueue_basic (111.70s)
--- PASS: TestAccAWSCloudFormationStackSet_AdministrationRoleArn (43.16s)
--- PASS: TestAccAWSCloudFormationStackSet_ExecutionRoleName (44.52s)
--- PASS: TestAccAWSCloudFormationStackSet_Description (47.52s)
--- PASS: TestAccAWSCloudFormationStackSet_Name (49.23s)
--- PASS: TestAccAWSCloudFormationStackSet_TemplateBody (51.97s)
--- PASS: TestAccAWSCloudFormationStack_CreationFailure_Delete (21.63s)
--- PASS: TestAccAWSCloudFormationStack_CreationFailure_DoNothing (31.18s)
--- PASS: TestAccAWSCloudFormationStackSet_TemplateUrl (51.73s)
--- PASS: TestAccAWSCloudFormationStack_CreationFailure_Rollback (35.26s)
--- PASS: TestAccAWSCloudFormationStackSetInstance_disappears_StackSet (116.59s)
--- PASS: TestAccAWSCloudFormationStack_basic (75.75s)
--- PASS: TestAccAWSCloudFormationStackSetInstance_disappears (118.98s)
--- PASS: TestAccAWSCloudFormationStackSet_Parameters (95.28s)
--- PASS: TestAccAWSCloudFormationStackSetInstance_basic (125.83s)
--- PASS: TestAccAWSCloudFormationStackSet_Tags (101.81s)
--- PASS: TestAccAWSDbClusterSnapshotDataSource_DbClusterSnapshotIdentifier (172.69s)
--- PASS: TestAccAWSCloudFormationStack_disappears (66.16s)
--- PASS: TestAccAWSCloudFormationStack_yaml (72.07s)
--- PASS: TestAccAWSCloudFormationStack_defaultParams (70.79s)
--- PASS: TestAccAWSDbClusterSnapshotDataSource_DbClusterIdentifier (190.23s)
--- PASS: TestAccAWSCloudFormationStack_withTransform (49.93s)
--- PASS: TestAccAWSCloudFormationStack_allAttributes (81.89s)
--- PASS: TestAccAWSCloudFormationStackSetInstance_RetainStack (167.80s)
--- PASS: TestAccDataSourceCloudHsmV2Cluster_basic (236.70s)
--- PASS: TestAccAWSCloudFormationStack_UpdateFailure (100.87s)
--- PASS: TestAccAWSCloudFormationStack_withUrl_withParams_withYaml (71.26s)
--- PASS: TestAccAWSDbClusterSnapshotDataSource_MostRecent (230.18s)
--- PASS: TestAccAWSCloudFormationStack_withUrl_withParams_noUpdate (91.61s)
--- PASS: TestAccAWSCloudFormationStack_withParams (121.37s)
--- PASS: TestAccAWSCloudFormationStackSetInstance_ParameterOverrides (233.60s)
--- PASS: TestAccAWSCloudFormationStack_withUrl_withParams (126.62s)
--- PASS: TestAccAWSDataSourceCloudFrontDistribution_basic (310.60s)
--- PASS: TestAccDataSourceAwsApiGatewayVpcLink_basic (701.74s)

TestAccAWSDbEventCategories_basic is a pre-existing failure

@gdavison gdavison added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. technical-debt Addresses areas of the codebase that need refactoring or redesign. linter Pertains to changes to or issues with the various linters. labels Feb 9, 2021
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. provider Pertains to the provider itself, rather than any interaction with AWS. service/acm Issues and PRs that pertain to the acm service. service/acmpca Issues and PRs that pertain to the acmpca service. service/apigateway Issues and PRs that pertain to the apigateway service. service/autoscaling Issues and PRs that pertain to the autoscaling service. service/backup Issues and PRs that pertain to the backup service. service/batch Issues and PRs that pertain to the batch service. service/cloudformation Issues and PRs that pertain to the cloudformation service. service/cloudfront Issues and PRs that pertain to the cloudfront service. service/cloudwatchlogs service/codecommit Issues and PRs that pertain to the codecommit service. service/ec2 Issues and PRs that pertain to the ec2 service. service/rds Issues and PRs that pertain to the rds service. service/sts Issues and PRs that pertain to the sts service. labels Feb 9, 2021
@gdavison gdavison marked this pull request as ready for review February 9, 2021 05:49
@gdavison gdavison requested a review from a team as a code owner February 9, 2021 05:49
@bflad bflad self-assigned this Feb 10, 2021
Copy link
Member

@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.

Looks good to me

@gdavison gdavison merged commit 664d99a into main Feb 11, 2021
@gdavison gdavison deleted the linter-errorlint-datasource-a-e branch February 11, 2021 18:54
@github-actions github-actions bot added this to the v3.28.0 milestone Feb 11, 2021
@ghost
Copy link

ghost commented Feb 12, 2021

This has been released in version 3.28.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!

@ghost
Copy link

ghost commented Mar 14, 2021

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 as resolved and limited conversation to collaborators Mar 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
linter Pertains to changes to or issues with the various linters. provider Pertains to the provider itself, rather than any interaction with AWS. service/acm Issues and PRs that pertain to the acm service. service/acmpca Issues and PRs that pertain to the acmpca service. service/apigateway Issues and PRs that pertain to the apigateway service. service/autoscaling Issues and PRs that pertain to the autoscaling service. service/backup Issues and PRs that pertain to the backup service. service/batch Issues and PRs that pertain to the batch service. service/cloudformation Issues and PRs that pertain to the cloudformation service. service/cloudfront Issues and PRs that pertain to the cloudfront service. service/codecommit Issues and PRs that pertain to the codecommit service. service/ec2 Issues and PRs that pertain to the ec2 service. service/rds Issues and PRs that pertain to the rds service. service/sts Issues and PRs that pertain to the sts service. size/XL Managed by automation to categorize the size of a PR. technical-debt Addresses areas of the codebase that need refactoring or redesign. 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.

None yet

2 participants