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

transfer: Fix erroneous diffs with user and access policies #22193

Merged
merged 3 commits into from Dec 14, 2021

Conversation

YakDriver
Copy link
Member

@YakDriver YakDriver commented Dec 13, 2021

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 #21968

Output from acceptance testing (us-west-2):

% make testacc TESTS="TestAccTransfer_serial/User" PKG=transfer
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/transfer/... -v -count 1 -parallel 20 -run='TestAccTransfer_serial/User' -timeout 180m
--- PASS: TestAccTransfer_serial (995.77s)
    --- PASS: TestAccTransfer_serial/User (995.77s)
        --- PASS: TestAccTransfer_serial/User/UserNameValidation (15.56s)
        --- PASS: TestAccTransfer_serial/User/basic (189.83s)
        --- PASS: TestAccTransfer_serial/User/disappears (161.57s)
        --- PASS: TestAccTransfer_serial/User/HomeDirectoryMappings (203.89s)
        --- PASS: TestAccTransfer_serial/User/ModifyWithOptions (224.92s)
        --- PASS: TestAccTransfer_serial/User/Posix (200.00s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/transfer	997.362s

Output from acceptance testing (GovCloud):

% make testacc TESTS="TestAccTransfer_serial/Access" PKG=transfer
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/transfer/... -v -count 1 -parallel 20 -run='TestAccTransfer_serial/Access' -timeout 180m
--- PASS: TestAccTransfer_serial (20.48s)
    --- PASS: TestAccTransfer_serial/Access (20.48s)
        --- SKIP: TestAccTransfer_serial/Access/S3Basic (2.72s)
        --- SKIP: TestAccTransfer_serial/Access/S3Policy (1.07s)
        --- SKIP: TestAccTransfer_serial/Access/disappears (1.06s)
        --- SKIP: TestAccTransfer_serial/Access/EFSBasic (15.64s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/transfer	21.662s
% make testacc TESTS="TestAccTransfer_serial/User" PKG=transfer
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/transfer/... -v -count 1 -parallel 20 -run='TestAccTransfer_serial/User' -timeout 180m
--- PASS: TestAccTransfer_serial (70.53s)
    --- PASS: TestAccTransfer_serial/User (70.53s)
        --- SKIP: TestAccTransfer_serial/User/ModifyWithOptions (12.54s)
        --- SKIP: TestAccTransfer_serial/User/Posix (10.62s)
        --- PASS: TestAccTransfer_serial/User/UserNameValidation (15.65s)
        --- SKIP: TestAccTransfer_serial/User/basic (10.56s)
        --- SKIP: TestAccTransfer_serial/User/disappears (10.57s)
        --- SKIP: TestAccTransfer_serial/User/HomeDirectoryMappings (10.57s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/transfer	71.759s

@github-actions github-actions bot added service/transfer Issues and PRs that pertain to the transfer service. size/M Managed by automation to categorize the size of a PR. labels Dec 13, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

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

LGTM 🚀.

% make testacc TESTS="TestAccTransfer_serial/User" PKG=transfer
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/transfer/... -v -count 1 -parallel 20 -run='TestAccTransfer_serial/User' -timeout 180m
=== RUN   TestAccTransfer_serial
=== RUN   TestAccTransfer_serial/User
=== RUN   TestAccTransfer_serial/User/basic
=== RUN   TestAccTransfer_serial/User/disappears
=== RUN   TestAccTransfer_serial/User/HomeDirectoryMappings
=== RUN   TestAccTransfer_serial/User/ModifyWithOptions
=== RUN   TestAccTransfer_serial/User/Posix
=== RUN   TestAccTransfer_serial/User/UserNameValidation
--- PASS: TestAccTransfer_serial (987.11s)
    --- PASS: TestAccTransfer_serial/User (987.11s)
        --- PASS: TestAccTransfer_serial/User/basic (189.90s)
        --- PASS: TestAccTransfer_serial/User/disappears (156.69s)
        --- PASS: TestAccTransfer_serial/User/HomeDirectoryMappings (209.58s)
        --- PASS: TestAccTransfer_serial/User/ModifyWithOptions (220.82s)
        --- PASS: TestAccTransfer_serial/User/Posix (197.77s)
        --- PASS: TestAccTransfer_serial/User/UserNameValidation (12.35s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/transfer	990.482s

@YakDriver YakDriver merged commit eacbbec into main Dec 14, 2021
@YakDriver YakDriver deleted the b-transfer-policy-diffs branch December 14, 2021 17:47
@github-actions github-actions bot added this to the v3.70.0 milestone Dec 14, 2021
@github-actions
Copy link

This functionality has been released in v3.70.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!

@github-actions
Copy link

github-actions bot commented Jun 2, 2022

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/transfer Issues and PRs that pertain to the transfer service. size/M Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants