-
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
Fixes a bug and added test sweeper for Appstream Fleets and Stacks #21125
Conversation
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 TESTARGS='-run=TestAccAwsAppStreamFleet_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsAppStreamFleet_ -timeout 180m
=== RUN TestAccAwsAppStreamFleet_basic
=== PAUSE TestAccAwsAppStreamFleet_basic
=== RUN TestAccAwsAppStreamFleet_disappears
=== PAUSE TestAccAwsAppStreamFleet_disappears
=== RUN TestAccAwsAppStreamFleet_completeWithStop
=== PAUSE TestAccAwsAppStreamFleet_completeWithStop
=== RUN TestAccAwsAppStreamFleet_completeWithoutStop
=== PAUSE TestAccAwsAppStreamFleet_completeWithoutStop
=== RUN TestAccAwsAppStreamFleet_withTags
=== PAUSE TestAccAwsAppStreamFleet_withTags
=== CONT TestAccAwsAppStreamFleet_basic
=== CONT TestAccAwsAppStreamFleet_completeWithoutStop
=== CONT TestAccAwsAppStreamFleet_withTags
=== CONT TestAccAwsAppStreamFleet_completeWithStop
=== CONT TestAccAwsAppStreamFleet_disappears
--- PASS: TestAccAwsAppStreamFleet_disappears (926.54s)
--- PASS: TestAccAwsAppStreamFleet_completeWithoutStop (955.72s)
--- PASS: TestAccAwsAppStreamFleet_basic (963.26s)
--- PASS: TestAccAwsAppStreamFleet_withTags (1008.73s)
--- PASS: TestAccAwsAppStreamFleet_completeWithStop (1303.39s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 1307.404s
GovCloud
% make testacc TESTARGS='-run=TestAccAwsAppStreamFleet_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsAppStreamFleet_ -timeout 180m
=== RUN TestAccAwsAppStreamFleet_basic
=== PAUSE TestAccAwsAppStreamFleet_basic
=== RUN TestAccAwsAppStreamFleet_disappears
=== PAUSE TestAccAwsAppStreamFleet_disappears
=== RUN TestAccAwsAppStreamFleet_completeWithStop
=== PAUSE TestAccAwsAppStreamFleet_completeWithStop
=== RUN TestAccAwsAppStreamFleet_completeWithoutStop
=== PAUSE TestAccAwsAppStreamFleet_completeWithoutStop
=== RUN TestAccAwsAppStreamFleet_withTags
=== PAUSE TestAccAwsAppStreamFleet_withTags
=== CONT TestAccAwsAppStreamFleet_basic
=== CONT TestAccAwsAppStreamFleet_completeWithoutStop
=== CONT TestAccAwsAppStreamFleet_withTags
=== CONT TestAccAwsAppStreamFleet_completeWithStop
=== CONT TestAccAwsAppStreamFleet_disappears
=== CONT TestAccAwsAppStreamFleet_basic
provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
Error: error creating Appstream Fleet (): ResourceNotFoundException: The image Amazon-AppStream2-Sample-Image-02-04-2019 for account 357342307427 does not exist.
with aws_appstream_fleet.test,
on terraform_plugin_test.tf line 2, in resource "aws_appstream_fleet" "test":
2: resource "aws_appstream_fleet" "test" {
--- SKIP: TestAccAwsAppStreamFleet_basic (908.76s)
=== CONT TestAccAwsAppStreamFleet_disappears
provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
Error: error creating Appstream Fleet (): ResourceNotFoundException: The image Amazon-AppStream2-Sample-Image-02-04-2019 for account 357342307427 does not exist.
with aws_appstream_fleet.test,
on terraform_plugin_test.tf line 2, in resource "aws_appstream_fleet" "test":
2: resource "aws_appstream_fleet" "test" {
--- SKIP: TestAccAwsAppStreamFleet_disappears (908.98s)
=== CONT TestAccAwsAppStreamFleet_withTags
provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
Error: error creating Appstream Fleet (): ResourceNotFoundException: The image Amazon-AppStream2-Sample-Image-02-04-2019 for account 357342307427 does not exist.
with aws_appstream_fleet.test,
on terraform_plugin_test.tf line 22, in resource "aws_appstream_fleet" "test":
22: resource "aws_appstream_fleet" "test" {
=== CONT TestAccAwsAppStreamFleet_completeWithoutStop
provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
Error: error creating Appstream Fleet (): ResourceNotFoundException: The image Amazon-AppStream2-Sample-Image-02-04-2019 for account 357342307427 does not exist.
with aws_appstream_fleet.test,
on terraform_plugin_test.tf line 22, in resource "aws_appstream_fleet" "test":
22: resource "aws_appstream_fleet" "test" {
=== CONT TestAccAwsAppStreamFleet_completeWithStop
provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
Error: error creating Appstream Fleet (): ResourceNotFoundException: The image Amazon-AppStream2-Sample-Image-02-04-2019 for account 357342307427 does not exist.
with aws_appstream_fleet.test,
on terraform_plugin_test.tf line 22, in resource "aws_appstream_fleet" "test":
22: resource "aws_appstream_fleet" "test" {
--- SKIP: TestAccAwsAppStreamFleet_completeWithStop (920.31s)
--- SKIP: TestAccAwsAppStreamFleet_completeWithoutStop (920.32s)
--- SKIP: TestAccAwsAppStreamFleet_withTags (920.36s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 924.802s
@coderGo93 Thanks for the contribution 🎉 👏. |
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 #20994
Closes #20993
Output from acceptance testing:
AppStream Fleet
AppStream Stack