-
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
tests/d/servicecat_launch_paths: Fix for assumed role #20001
Conversation
Before
After
|
This PR includes plugin SDK 2.7.0. This does not seem to play nicely with TF 0.14. See #19982. I just re-ran these tests with TF 1.0.1:
|
Yes, I was actually running the acceptance test with Terraform 0.12.31. % make testacc TEST=./aws TESTARGS='-run=TestAccAWSServiceCatalogLaunchPathsDataSource_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSServiceCatalogLaunchPathsDataSource_basic -timeout 180m
=== RUN TestAccAWSServiceCatalogLaunchPathsDataSource_basic
=== PAUSE TestAccAWSServiceCatalogLaunchPathsDataSource_basic
=== CONT TestAccAWSServiceCatalogLaunchPathsDataSource_basic
--- PASS: TestAccAWSServiceCatalogLaunchPathsDataSource_basic (90.13s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 94.894s |
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 🚀.
I suggest changing data "aws_servicecatalog_launch_paths" "test" {
product_id = aws_servicecatalog_product_portfolio_association.test.product_id
depends_on = [aws_servicecatalog_principal_portfolio_association.test]
} to data "aws_servicecatalog_launch_paths" "test" {
product_id = aws_servicecatalog_product_portfolio_association.test.product_id
} as the |
I juggled the dependencies around to avoid |
This functionality has been released in v3.48.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! |
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 #19998
Output from acceptance testing (
us-west-2
):Using an assumed role:
Output from acceptance testing (GovCloud):
Not using an assumed role: