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

tests/provider: Fix hardcoded (Lambda Perm) #15713

Merged
merged 1 commit into from
Oct 22, 2020
Merged

Conversation

YakDriver
Copy link
Member

@YakDriver YakDriver commented Oct 19, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates #15662

No code changes. Added lintignore for unit tests, not-used ARNs.

Release note for CHANGELOG:

NONE

Output from acceptance testing (GovCloud):

--- PASS: TestLambdaPermissionGetQualifierFromLambdaAliasOrVersionArn_invalid (0.11s)
--- PASS: TestLambdaPermissionUnmarshalling (0.27s)
--- PASS: TestLambdaPermissionGetFunctionNameFromLambdaArn_valid (0.39s)
--- PASS: TestLambdaPermissionGetFunctionNameFromLambdaArn_invalid (0.40s)
--- PASS: TestLambdaPermissionGetQualifierFromLambdaAliasOrVersionArn_version (0.42s)
--- PASS: TestLambdaPermissionGetQualifierFromLambdaAliasOrVersionArn_alias (0.44s)
--- PASS: TestLambdaPermissionGetFunctionNameFromGovCloudLambdaArn (0.46s)
--- PASS: TestLambdaPermissionGetQualifierFromLambdaAliasOrVersionArn_govcloud (0.56s)
--- PASS: TestAccAWSLambdaPermission_withStatementIdPrefix (44.11s)
--- PASS: TestAccAWSLambdaPermission_basic (46.14s)
--- PASS: TestAccAWSLambdaPermission_withRawFunctionName (46.58s)
--- PASS: TestAccAWSLambdaPermission_withQualifier (46.83s)
--- PASS: TestAccAWSLambdaPermission_withIAMRole (46.70s)
--- PASS: TestAccAWSLambdaPermission_withS3 (47.14s)
--- PASS: TestAccAWSLambdaPermission_withSNS (47.43s)
--- PASS: TestAccAWSLambdaPermission_multiplePerms (53.89s)
--- PASS: TestAccAWSLambdaPermission_StatementId_Duplicate (85.23s)
--- PASS: TestAccAWSLambdaPermission_disappears (104.32s)

Output from acceptance testing (commercial):

--- PASS: TestLambdaPermissionGetFunctionNameFromLambdaArn_invalid (0.24s)
--- PASS: TestLambdaPermissionGetQualifierFromLambdaAliasOrVersionArn_invalid (0.26s)
--- PASS: TestLambdaPermissionGetFunctionNameFromLambdaArn_valid (0.33s)
--- PASS: TestLambdaPermissionGetFunctionNameFromGovCloudLambdaArn (0.36s)
--- PASS: TestLambdaPermissionGetQualifierFromLambdaAliasOrVersionArn_alias (0.37s)
--- PASS: TestLambdaPermissionGetQualifierFromLambdaAliasOrVersionArn_version (0.42s)
--- PASS: TestLambdaPermissionUnmarshalling (0.43s)
--- PASS: TestLambdaPermissionGetQualifierFromLambdaAliasOrVersionArn_govcloud (0.51s)
--- PASS: TestAccAWSLambdaPermission_withIAMRole (39.94s)
--- PASS: TestAccAWSLambdaPermission_basic (52.54s)
--- PASS: TestAccAWSLambdaPermission_withQualifier (53.90s)
--- PASS: TestAccAWSLambdaPermission_withStatementIdPrefix (54.94s)
--- PASS: TestAccAWSLambdaPermission_withRawFunctionName (55.14s)
--- PASS: TestAccAWSLambdaPermission_withS3 (55.72s)
--- PASS: TestAccAWSLambdaPermission_withSNS (56.02s)
--- PASS: TestAccAWSLambdaPermission_multiplePerms (69.13s)
--- PASS: TestAccAWSLambdaPermission_StatementId_Duplicate (96.83s)
--- PASS: TestAccAWSLambdaPermission_disappears (104.50s)

@YakDriver YakDriver requested a review from a team October 19, 2020 17:34
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. service/lambda Issues and PRs that pertain to the lambda service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Oct 19, 2020
@YakDriver YakDriver added the partition/aws-us-gov Pertains to the aws-us-gov partition. label Oct 19, 2020
Copy link
Contributor

@bill-rich bill-rich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know about lintignore. Thats good to know!

@YakDriver YakDriver added this to the v3.12.0 milestone Oct 22, 2020
@YakDriver YakDriver merged commit 1573e28 into master Oct 22, 2020
@YakDriver YakDriver deleted the t-gov-hardarn-lambda branch October 22, 2020 18:20
@ghost
Copy link

ghost commented Oct 22, 2020

This has been released in version 3.12.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 Nov 22, 2020

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 Nov 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
partition/aws-us-gov Pertains to the aws-us-gov partition. service/lambda Issues and PRs that pertain to the lambda service. size/XS Managed by automation to categorize the size of a PR. 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.

2 participants