-
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
data_source/aws_outposts_outpost and aws_outposts_outposts: add argument for owner_id #17585
data_source/aws_outposts_outpost and aws_outposts_outposts: add argument for owner_id #17585
Conversation
…low allow different account id from testAccProvider in the ARN. Replaced testAccCheckResourceAttrAccountID in acceptance test to allow different account id from testAccProvider as owner_id.
…dded owner_id for outposts site.
bbe832c
to
8c64433
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 🚀.
Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSOutpostsOutpostDataSource_\|TestAccAWSOutpostsOutpostsDataSource_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSOutpostsOutpostDataSource_\|TestAccAWSOutpostsOutpostsDataSource_ -timeout 180m
=== RUN TestAccAWSOutpostsOutpostDataSource_Id
=== PAUSE TestAccAWSOutpostsOutpostDataSource_Id
=== RUN TestAccAWSOutpostsOutpostDataSource_Name
=== PAUSE TestAccAWSOutpostsOutpostDataSource_Name
=== RUN TestAccAWSOutpostsOutpostDataSource_Arn
=== PAUSE TestAccAWSOutpostsOutpostDataSource_Arn
=== RUN TestAccAWSOutpostsOutpostDataSource_OwnerId
=== PAUSE TestAccAWSOutpostsOutpostDataSource_OwnerId
=== RUN TestAccAWSOutpostsOutpostsDataSource_basic
=== PAUSE TestAccAWSOutpostsOutpostsDataSource_basic
=== CONT TestAccAWSOutpostsOutpostDataSource_Id
=== CONT TestAccAWSOutpostsOutpostDataSource_OwnerId
=== CONT TestAccAWSOutpostsOutpostDataSource_Name
=== CONT TestAccAWSOutpostsOutpostDataSource_Arn
=== CONT TestAccAWSOutpostsOutpostsDataSource_basic
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSOutpostsOutpostsDataSource_basic (1.70s)
=== CONT TestAccAWSOutpostsOutpostDataSource_OwnerId
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSOutpostsOutpostDataSource_OwnerId (1.73s)
=== CONT TestAccAWSOutpostsOutpostDataSource_Id
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSOutpostsOutpostDataSource_Id (1.76s)
=== CONT TestAccAWSOutpostsOutpostDataSource_Name
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSOutpostsOutpostDataSource_Name (1.97s)
=== CONT TestAccAWSOutpostsOutpostDataSource_Arn
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSOutpostsOutpostDataSource_Arn (2.24s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 5.252s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSOutpostsOutpostDataSource_\|TestAccAWSOutpostsOutpostsDataSource_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSOutpostsOutpostDataSource_\|TestAccAWSOutpostsOutpostsDataSource_ -timeout 180m
=== RUN TestAccAWSOutpostsOutpostDataSource_Id
=== PAUSE TestAccAWSOutpostsOutpostDataSource_Id
=== RUN TestAccAWSOutpostsOutpostDataSource_Name
=== PAUSE TestAccAWSOutpostsOutpostDataSource_Name
=== RUN TestAccAWSOutpostsOutpostDataSource_Arn
=== PAUSE TestAccAWSOutpostsOutpostDataSource_Arn
=== RUN TestAccAWSOutpostsOutpostDataSource_OwnerId
=== PAUSE TestAccAWSOutpostsOutpostDataSource_OwnerId
=== RUN TestAccAWSOutpostsOutpostsDataSource_basic
=== PAUSE TestAccAWSOutpostsOutpostsDataSource_basic
=== CONT TestAccAWSOutpostsOutpostDataSource_Id
=== CONT TestAccAWSOutpostsOutpostDataSource_OwnerId
=== CONT TestAccAWSOutpostsOutpostDataSource_Arn
=== CONT TestAccAWSOutpostsOutpostsDataSource_basic
=== CONT TestAccAWSOutpostsOutpostDataSource_Name
=== CONT TestAccAWSOutpostsOutpostsDataSource_basic
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSOutpostsOutpostsDataSource_basic (2.02s)
=== CONT TestAccAWSOutpostsOutpostDataSource_Name
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSOutpostsOutpostDataSource_Name (2.04s)
=== CONT TestAccAWSOutpostsOutpostDataSource_OwnerId
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSOutpostsOutpostDataSource_OwnerId (2.20s)
=== CONT TestAccAWSOutpostsOutpostDataSource_Id
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSOutpostsOutpostDataSource_Id (7.07s)
=== CONT TestAccAWSOutpostsOutpostDataSource_Arn
data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSOutpostsOutpostDataSource_Arn (7.14s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 10.350s
@farhanangullia Thanks for the contribution 👏. |
Thanks @ewbankkit 😄 |
This has been released in version 3.41.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 pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #17517
Release note for CHANGELOG:
Affected Resource(s)
Terraform Configuration
Output from acceptance testing for data_source/aws_outposts_outpost:
Output from acceptance testing for data_source/aws_outposts_outposts: