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

F data source aws appmesh mesh create #19577

Merged
merged 8 commits into from
Jun 9, 2021
Merged

F data source aws appmesh mesh create #19577

merged 8 commits into from
Jun 9, 2021

Conversation

philnichol
Copy link
Contributor

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

Output from acceptance testing:

$ TF_ACC=1 go test ./aws -v -count 1 -parallel 10 -run=TestAccAWSAppmeshMeshDataSource_ -timeout=30m
=== RUN   TestAccAWSAppmeshMeshDataSource_basic
=== PAUSE TestAccAWSAppmeshMeshDataSource_basic
=== RUN   TestAccAWSAppmeshMeshDataSource_meshOwner
=== PAUSE TestAccAWSAppmeshMeshDataSource_meshOwner
=== RUN   TestAccAWSAppmeshMeshDataSource_specAndTagsSet
=== PAUSE TestAccAWSAppmeshMeshDataSource_specAndTagsSet
=== RUN   TestAccAWSAppmeshMeshDataSource_nonExistent
=== PAUSE TestAccAWSAppmeshMeshDataSource_nonExistent
=== CONT  TestAccAWSAppmeshMeshDataSource_basic
=== CONT  TestAccAWSAppmeshMeshDataSource_nonExistent
=== CONT  TestAccAWSAppmeshMeshDataSource_meshOwner
=== CONT  TestAccAWSAppmeshMeshDataSource_specAndTagsSet
--- PASS: TestAccAWSAppmeshMeshDataSource_nonExistent (3.52s)
--- PASS: TestAccAWSAppmeshMeshDataSource_basic (12.84s)
--- PASS: TestAccAWSAppmeshMeshDataSource_specAndTagsSet (14.62s)
--- PASS: TestAccAWSAppmeshMeshDataSource_meshOwner (14.67s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	17.147s
$ make lint
$ make fmt
==> Fixing source code with gofmt...
gofmt -s -w ./aws ./awsproviderlint/helper ./awsproviderlint/main.go ./awsproviderlint/passes

Thanks in advance for your review!
Wasn't sure if I was meant to include the change to provider.go, so let me know if you want this removed.

@philnichol philnichol requested review from ewbankkit and a team as code owners May 29, 2021 13:30
@ghost ghost added the size/XL Managed by automation to categorize the size of a PR. label May 29, 2021
@github-actions github-actions bot added documentation Introduces or discusses updates to documentation. provider Pertains to the provider itself, rather than any interaction with AWS. service/appmesh Issues and PRs that pertain to the appmesh service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. needs-triage Waiting for first response or review from a maintainer. labels May 29, 2021
@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Jun 9, 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 🚀.

Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSAppmeshMeshDataSource_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppmeshMeshDataSource_ -timeout 180m
=== RUN   TestAccAWSAppmeshMeshDataSource_basic
=== PAUSE TestAccAWSAppmeshMeshDataSource_basic
=== RUN   TestAccAWSAppmeshMeshDataSource_meshOwner
=== PAUSE TestAccAWSAppmeshMeshDataSource_meshOwner
=== RUN   TestAccAWSAppmeshMeshDataSource_specAndTagsSet
=== PAUSE TestAccAWSAppmeshMeshDataSource_specAndTagsSet
=== CONT  TestAccAWSAppmeshMeshDataSource_basic
=== CONT  TestAccAWSAppmeshMeshDataSource_specAndTagsSet
=== CONT  TestAccAWSAppmeshMeshDataSource_meshOwner
--- PASS: TestAccAWSAppmeshMeshDataSource_basic (14.57s)
--- PASS: TestAccAWSAppmeshMeshDataSource_meshOwner (14.59s)
--- PASS: TestAccAWSAppmeshMeshDataSource_specAndTagsSet (14.68s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	17.477s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSAppmeshMeshDataSource_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppmeshMeshDataSource_ -timeout 180m
=== RUN   TestAccAWSAppmeshMeshDataSource_basic
=== PAUSE TestAccAWSAppmeshMeshDataSource_basic
=== RUN   TestAccAWSAppmeshMeshDataSource_meshOwner
=== PAUSE TestAccAWSAppmeshMeshDataSource_meshOwner
=== RUN   TestAccAWSAppmeshMeshDataSource_specAndTagsSet
=== PAUSE TestAccAWSAppmeshMeshDataSource_specAndTagsSet
=== CONT  TestAccAWSAppmeshMeshDataSource_basic
=== CONT  TestAccAWSAppmeshMeshDataSource_specAndTagsSet
=== CONT  TestAccAWSAppmeshMeshDataSource_meshOwner
=== CONT  TestAccAWSAppmeshMeshDataSource_specAndTagsSet
    provider_test.go:734: skipping tests; partition aws-us-gov does not support appmesh service
--- SKIP: TestAccAWSAppmeshMeshDataSource_specAndTagsSet (1.40s)
=== CONT  TestAccAWSAppmeshMeshDataSource_basic
    provider_test.go:734: skipping tests; partition aws-us-gov does not support appmesh service
=== CONT  TestAccAWSAppmeshMeshDataSource_meshOwner
    provider_test.go:734: skipping tests; partition aws-us-gov does not support appmesh service
--- SKIP: TestAccAWSAppmeshMeshDataSource_basic (1.40s)
--- SKIP: TestAccAWSAppmeshMeshDataSource_meshOwner (1.40s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	4.334s

@ewbankkit
Copy link
Contributor

@philnichol Thanks for the contribution 🎉 👏.
I pushed a couple of minor changes to get this merged quickly:

  • Added PreCheck and ErrorCheck to the acceptance tests to correctly handle AWS GovCloud
  • Removed Optional: true from the spec attribute as it is not an input argument

@philnichol
Copy link
Contributor Author

@ewbankkit thanks for the review and feedback! Will keep those in mind for future changes.

@ewbankkit ewbankkit merged commit 897db13 into hashicorp:main Jun 9, 2021
@github-actions github-actions bot added this to the v3.45.0 milestone Jun 9, 2021
@philnichol philnichol deleted the f-data_source_aws_appmesh_mesh-create branch June 10, 2021 07:51
@github-actions
Copy link

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

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 Jul 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. provider Pertains to the provider itself, rather than any interaction with AWS. service/appmesh Issues and PRs that pertain to the appmesh service. size/XL 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