AppStream Fleet Timeout Instead of Create Error #20994
Labels
service/appstream
Issues and PRs that pertain to the appstream service.
service/ec2
Issues and PRs that pertain to the ec2 service.
Community Note
In a Nutshell
The create waiter for AppStream fleet waits for the status to change from
STARTING
to something else. Unfortunately, AWS handles this slightly differently. If there are errors (e.g., the subnet configuration is bad), the status will remainSTARTING
for months (or, years, presumably) but AWS will provideFleetErrors
. Thus, only waiting for an error or the status to change is not sufficient. The waiter must also checkFleetErrors
.Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.5
AWS v.3.60.0
Affected Resource(s)
Raw AWS JSON Response
Notice
Fleets[0].State
andFleets[0].FleetErrors
below.Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
To reproduce, tweak the subnet configuration to be invalid.
Expected Behavior
As soon as AWS returns an error, the Terraform AWS provider should stop waiting on the status and provide the error, rather than waiting until the timeout.
Actual Behavior
No error displayed, creation hung rather than failed, reached timeout although AWS returned the error relatively quickly.
Steps to Reproduce
terraform apply
References
The text was updated successfully, but these errors were encountered: