-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Add 'mesh_owner' and 'resource_owner' attributes in support of cross-account AppMesh mesh sharing #14349
Add 'mesh_owner' and 'resource_owner' attributes in support of cross-account AppMesh mesh sharing #14349
Conversation
6728eaa
to
b673142
Compare
… in support of cross-account mesh sharing. Acceptance test output: $ make testacc TEST=./aws TESTARGS='-run=TestAccAWSAppmesh/Route' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppmesh/Route -timeout 120m === RUN TestAccAWSAppmesh_serial === RUN TestAccAWSAppmesh_serial/Route === RUN TestAccAWSAppmesh_serial/Route/httpHeader === RUN TestAccAWSAppmesh_serial/Route/httpRoute === RUN TestAccAWSAppmesh_serial/Route/tcpRoute === RUN TestAccAWSAppmesh_serial/Route/routePriority === RUN TestAccAWSAppmesh_serial/Route/tags === RUN TestAccAWSAppmesh_serial/VirtualRouter === RUN TestAccAWSAppmesh_serial/VirtualRouter/basic === RUN TestAccAWSAppmesh_serial/VirtualRouter/tags --- PASS: TestAccAWSAppmesh_serial (223.84s) --- PASS: TestAccAWSAppmesh_serial/Route (169.52s) --- PASS: TestAccAWSAppmesh_serial/Route/httpHeader (27.91s) --- PASS: TestAccAWSAppmesh_serial/Route/httpRoute (37.76s) --- PASS: TestAccAWSAppmesh_serial/Route/tcpRoute (37.54s) --- PASS: TestAccAWSAppmesh_serial/Route/routePriority (27.71s) --- PASS: TestAccAWSAppmesh_serial/Route/tags (38.61s) --- PASS: TestAccAWSAppmesh_serial/VirtualRouter (54.32s) --- PASS: TestAccAWSAppmesh_serial/VirtualRouter/basic (22.79s) --- PASS: TestAccAWSAppmesh_serial/VirtualRouter/tags (31.53s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 223.931s
…ributes in support of cross-account mesh sharing. Acceptance test output: $ make testacc TEST=./aws TESTARGS='-run=TestAccAWSAppmesh/VirtualNode' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppmesh/VirtualNode -timeout 120m === RUN TestAccAWSAppmesh_serial === RUN TestAccAWSAppmesh_serial/VirtualNode === RUN TestAccAWSAppmesh_serial/VirtualNode/logging === RUN TestAccAWSAppmesh_serial/VirtualNode/tags === RUN TestAccAWSAppmesh_serial/VirtualNode/basic === RUN TestAccAWSAppmesh_serial/VirtualNode/cloudMapServiceDiscovery === RUN TestAccAWSAppmesh_serial/VirtualNode/listenerHealthChecks --- PASS: TestAccAWSAppmesh_serial (189.22s) --- PASS: TestAccAWSAppmesh_serial/VirtualNode (189.22s) --- PASS: TestAccAWSAppmesh_serial/VirtualNode/logging (23.33s) --- PASS: TestAccAWSAppmesh_serial/VirtualNode/tags (33.05s) --- PASS: TestAccAWSAppmesh_serial/VirtualNode/basic (14.57s) --- PASS: TestAccAWSAppmesh_serial/VirtualNode/cloudMapServiceDiscovery (95.31s) --- PASS: TestAccAWSAppmesh_serial/VirtualNode/listenerHealthChecks (22.95s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 189.280s
…ttributes in support of cross-account mesh sharing. Acceptance test output: $ make testacc TEST=./aws TESTARGS='-run=TestAccAWSAppmesh/VirtualRouter' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppmesh/VirtualRouter -timeout 120m === RUN TestAccAWSAppmesh_serial === RUN TestAccAWSAppmesh_serial/VirtualRouter === RUN TestAccAWSAppmesh_serial/VirtualRouter/basic === RUN TestAccAWSAppmesh_serial/VirtualRouter/tags --- PASS: TestAccAWSAppmesh_serial (53.74s) --- PASS: TestAccAWSAppmesh_serial/VirtualRouter (53.74s) --- PASS: TestAccAWSAppmesh_serial/VirtualRouter/basic (22.57s) --- PASS: TestAccAWSAppmesh_serial/VirtualRouter/tags (31.18s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 53.793s
…attributes in support of cross-account mesh sharing. Acceptance test output: $ make testacc TEST=./aws TESTARGS='-run=TestAccAWSAppmesh/VirtualService' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppmesh/VirtualService -timeout 120m === RUN TestAccAWSAppmesh_serial === RUN TestAccAWSAppmesh_serial/VirtualService === RUN TestAccAWSAppmesh_serial/VirtualService/virtualNode === RUN TestAccAWSAppmesh_serial/VirtualService/virtualRouter === RUN TestAccAWSAppmesh_serial/VirtualService/tags --- PASS: TestAccAWSAppmesh_serial (90.76s) --- PASS: TestAccAWSAppmesh_serial/VirtualService (90.76s) --- PASS: TestAccAWSAppmesh_serial/VirtualService/virtualNode (27.38s) --- PASS: TestAccAWSAppmesh_serial/VirtualService/virtualRouter (25.29s) --- PASS: TestAccAWSAppmesh_serial/VirtualService/tags (38.08s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 90.827s
…in support of cross-account mesh sharing. Acceptance test output: $ make testacc TEST=./aws TESTARGS='-run=TestAccAWSAppmesh/Mesh' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppmesh/Mesh -timeout 120m === RUN TestAccAWSAppmesh_serial === RUN TestAccAWSAppmesh_serial/Mesh === RUN TestAccAWSAppmesh_serial/Mesh/tags === RUN TestAccAWSAppmesh_serial/Mesh/basic === RUN TestAccAWSAppmesh_serial/Mesh/egressFilter --- PASS: TestAccAWSAppmesh_serial (58.23s) --- PASS: TestAccAWSAppmesh_serial/Mesh (58.23s) --- PASS: TestAccAWSAppmesh_serial/Mesh/tags (25.62s) --- PASS: TestAccAWSAppmesh_serial/Mesh/basic (10.61s) --- PASS: TestAccAWSAppmesh_serial/Mesh/egressFilter (21.99s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 58.329s
b673142
to
eb96e4c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
--- PASS: TestAccAWSAppmesh_serial/Mesh (228.15s)
--- PASS: TestAccAWSAppmesh_serial/Mesh/basic (40.36s)
--- PASS: TestAccAWSAppmesh_serial/Mesh/egressFilter (88.71s)
--- PASS: TestAccAWSAppmesh_serial/Mesh/tags (99.07s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode (492.84s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode/basic (47.30s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode/cloudMapServiceDiscovery (165.43s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode/listenerHealthChecks (82.30s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode/logging (80.76s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode/tags (117.06s)
--- PASS: TestAccAWSAppmesh_serial/VirtualRouter (199.21s)
--- PASS: TestAccAWSAppmesh_serial/VirtualRouter/basic (79.95s)
--- PASS: TestAccAWSAppmesh_serial/VirtualRouter/tags (119.26s)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @ewbankkit 🚀
Output from acceptance testing (I'll ensure there's a covering bug report for the test failure if there isn't one already):
--- PASS: TestAccAWSAppmesh_serial/Mesh (71.08s)
--- PASS: TestAccAWSAppmesh_serial/Mesh/basic (12.63s)
--- PASS: TestAccAWSAppmesh_serial/Mesh/egressFilter (28.11s)
--- PASS: TestAccAWSAppmesh_serial/Mesh/tags (30.34s)
--- PASS: TestAccAWSAppmesh_serial/Route (142.94s)
--- PASS: TestAccAWSAppmesh_serial/Route/routePriority (22.44s)
--- PASS: TestAccAWSAppmesh_serial/Route/tags (34.26s)
--- PASS: TestAccAWSAppmesh_serial/Route/httpHeader (22.21s)
--- PASS: TestAccAWSAppmesh_serial/Route/httpRoute (32.62s)
--- PASS: TestAccAWSAppmesh_serial/Route/tcpRoute (31.41s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode (194.55s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode/cloudMapServiceDiscovery (107.37s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode/listenerHealthChecks (22.52s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode/logging (22.32s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode/tags (30.41s)
--- PASS: TestAccAWSAppmesh_serial/VirtualNode/basic (11.93s)
--- PASS: TestAccAWSAppmesh_serial/VirtualRouter (54.33s)
--- PASS: TestAccAWSAppmesh_serial/VirtualRouter/basic (21.91s)
--- PASS: TestAccAWSAppmesh_serial/VirtualRouter/tags (32.42s)
--- FAIL: TestAccAWSAppmesh_serial/VirtualService (60.19s)
--- PASS: TestAccAWSAppmesh_serial/VirtualService/virtualRouter (21.26s)
--- PASS: TestAccAWSAppmesh_serial/VirtualService/tags (32.76s)
--- FAIL: TestAccAWSAppmesh_serial/VirtualService/virtualNode (6.17s)
TestAccAWSAppmesh_serial/VirtualService/virtualNode: resource_aws_appmesh_virtual_service_test.go:89: Step 1/3 error: terraform failed: exit status 1
stderr:
Error: Provider produced inconsistent result after apply
When applying changes to aws_appmesh_virtual_service.test, provider
"registry.terraform.io/-/aws" produced an unexpected new value for was
present, but now absent.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Bug report already present: #15084 |
OK, I'll address that (it never happens for me 😄). |
This has been released in version 3.8.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! |
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! |
Community Note
Closes #12561.
Release note for CHANGELOG:
Output from acceptance testing: